[MGNLRES-186] Add create and delete actions for resources Created: 06/Aug/15 Updated: 29/Mar/22 Resolved: 18/Sep/15 |
|
| Status: | Closed |
| Project: | Magnolia Resources Module |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.4.2 |
| Type: | Story | Priority: | Neutral |
| Reporter: | Andreas Weder | Assignee: | Aleksandr Pchelintcev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | ux | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 4d 4.75h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||||||
| Testcase included: |
Yes
|
||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||
| Epic Link: | Phase out in-place templating app | ||||||||||||||||||||||||
| Sprint: | Basel 12 | ||||||||||||||||||||||||
| Story Points: | 3 | ||||||||||||||||||||||||
| Team: | |||||||||||||||||||||||||
| Description |
|
We'd like to be able to both remove a JCR resource as well as add a new JCR resource. In addition, the existing "remove hotfix" action has to go away. More details on what these add and delete actions can do and when they should be available can be found here: https://wiki.magnolia-cms.com/display/UX/The+Resource+Files+app#TheResourcefilesapp-Availableactionswhenselectingaresourcefile Note: the UI design mockups use the Trash icon for the delete action. Please use the "x" icon we're currently using for now - replacing all "x"s with the Trash icon as well as unifying the usage of the "x" in all remaining cases is a future change. Acceptance criteria
|
| Comments |
| Comment by Ilgun Ilgun [ 21/Aug/15 ] |
|
Changes can be found at feature/create-delete-actions/ |
| Comment by Federico Grilli [ 15/Sep/15 ] |
|
Can't remove a resource having a binary sub-node (that of type mgnl:resource). The check at info.magnolia.resources.app.action.DeleteResourceAction.removeNodeAndEmptyAncestorsFromJcr(Node) line #123 would return true and node deletion be skipped. |
| Comment by Ilgun Ilgun [ 21/Sep/15 ] |
|
Found a small issue with the DeleteResourceAction where one tries to delete multiple resources. FIxed the issue and pushed it to fix/ |
| Comment by Mikaël Geljić [ 29/Sep/15 ] |
|
Fixed those while doing QA:
I also went ahead with few polishing changes w/ Andreas:
|