Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore batch action is unusable - Remove it #2426

Closed
robbieaverill opened this issue May 8, 2019 · 7 comments
Closed

Restore batch action is unusable - Remove it #2426

robbieaverill opened this issue May 8, 2019 · 7 comments

Comments

@robbieaverill
Copy link
Contributor

robbieaverill commented May 8, 2019

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?

Acceptance criteria

  • "Restore" option is removed from bulk site tree option in CMS 5.
  • User help is reviewed and updated to remove any reference to the "Restore" bulk site tree option.
  • Any related API that are not used by anything else are marked as deprecated in CMS 5 and removed from CMS 6.
  • Updated CMS 5.3 changelog to add a brief mention of this change.

PRs

@brynwhyman
Copy link

Experiencing this in 4.5.alpha1 too.

This functionality may have predated the Archives panel in the CMS. Perhaps it's something that can be removed in lieu of that functionality? Although that doesn't yet have batch actions...

cc @silverstripeux

@clarkepaul
Copy link
Contributor

I think its best to remove the Restore action for now. Batch actions in the Archive and within search results would be the way to bring the functionality back.

When search results of the tree moved to be presented as a list (rather than a tree) would have been the time the functionality was lost.

@clarkepaul
Copy link
Contributor

Related silverstripe/silverstripe-admin#173

@brynwhyman brynwhyman changed the title [4.4] Restore batch action is unusable [4.4] Restore batch action is unusable - Remove it Nov 22, 2019
@brynwhyman
Copy link

Thanks for the feedback. Given these thoughts, I'm updating this issue to focus on removing this (unusable) functionality.

@maxime-rainville
Copy link
Contributor

If the thing is not working at all and we have no intention of fixing it, it seems a bit weird to call this an API break.

@GuySartorelli
Copy link
Member

non-draft PRs merged.
Reassigned to Steve for draft PR.

@GuySartorelli
Copy link
Member

PRs merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants