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

Delete from trash leaves live page alone #213

Open
fredrikekelund opened this issue Nov 12, 2018 · 3 comments
Open

Delete from trash leaves live page alone #213

fredrikekelund opened this issue Nov 12, 2018 · 3 comments
Labels

Comments

@fredrikekelund
Copy link
Contributor

Following up on the work in #206, I noticed recently that if you enable the deleteFromTrash option in apostrophe-pages and subsequently delete a draft page, the live document is left unaffected. I'm not sure what exactly would be the most wise course of action to solve this, but my original expectation was for both the draft and live document to be deleted altogether when I clicked "Delete from trash". Would it be viable to update the module to behave like that?

@boutell boutell added the bug label Nov 12, 2018
@boutell
Copy link
Contributor

boutell commented Nov 12, 2018

Good point, removing a document completely is never a wise move in the presence of workflow unless all documents sharing the same workflowGuid are removed. Across all locales, in fact.

The sensible course would be to do that, behind a confirmation prompt of considerable severity.

@fredrikekelund
Copy link
Contributor Author

Hmm, are there any particular risks when completely removing a document if apostrophe-workflow is in use?

@boutell
Copy link
Contributor

boutell commented Nov 12, 2018 via email

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

No branches or pull requests

2 participants