Open
Description
When unpublishing the homepage, a warning is shown that it is a bad idea to do so, as it will break the site's root.
When unpublishing the homepage using batch actions, this warning is not shown.
Reproducing:
Assuming a clean installation of Silverstripe CMS, version 4 & 5 are both affected.
- Log in to the admin
- Select to edit the homepage
- Attempt to unpublish the homepage
- Observe that a warning is shown
- Sidenote, the warning does not have a big "No, sorry, not what I want" button, hence, accepting the warning and not unpublishing the homepage is an unclear path
- Above the SiteTree, select "Batch Actions"
- Tick however many pages you want, but be sure to include the home page
- Select the batch action "unpublish"
- Hit "Go"
- Observe a standard "X amount of pages will be unpublished, are you sure?"
- Observe that there is no explicit warning about the homepage getting unpublished is shown
Activity