Bug: Need to evaluate how/when we implement recycle bin & delete
Reported by dleffler | June 9th, 2013 @ 03:27 AM | in 2.2.1 (closed)
Rollup of tickets #1032 #1033 #1034
- We currently erase all modules on a page when it's deleted (removed as a stand-alone page) though I have a local fix for this already
- We seem to send containers to the recycle bin, or at least do after implementing the above fix
- We do NOT remove module items when the module is removed from the recycle bin leaving item orphans
The recycle bin should work as such:
- when a content page is deleted from the hierarchy it is moved to the stand-alone pages
- when a stand-alone page is deleted it is removed, but the modules are sent to the recycle bin
- when a module is removed from a page it is sent to the recycle bin
- when a module is deleted from the recycle bin it and its items/content are also removed
- containers should NOT be sent to the recycle bin, but the modules they contain should.
We had tended to delete the object after sending it to the recycle bin (navigation & container) is some cases
Comments and changes to this ticket
-
expNinja June 12th, 2013 @ 06:53 PM
(from [cc8ef5e696cef1f0ab0381e6fa6cfb3f4d1cc111]) Robusts recycle bin operation which should now more consistently work...all modules from deleted pages (content pages moved to standalone first) are now placed in the recycle bin, all nested modules inside a deleted container are now placed in the recycle bin, all module items (assoc, attached, configs) are removed when a module is removed from the recycle bin, the add module dialog 'recycle bin' status is now more accurate [#1035] https://github.com/exponentcms/exponent-cms/commit/cc8ef5e696cef1f0...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS