silverstripe-cms
silverstripe-cms copied to clipboard
[4.4] Restore batch action is unusable - Remove it
Overview
The restore batch action in the site tree is unusable and therefore not required. Let's remove this option.
Steps to see that the option is unusable
SS 4.4.x-dev (vanilla)
- Create some pages
- Publish them all
- Go to batch actions and select some pages
- Choose "Unpublish & Archive" and click "Go"
- Choose "Restore" from the select
Expected: I should be able to select the pages I just archived and reinstate them again
Actual: they don't show up in the site tree
If this is expected behaviour, I'm not sure what this batch action is supposed to be for. If you can't restore archived pages with it because they don't show up in the site tree when they're archived, what is its purpose?