[MGNLUI-6649] Cannot Publish Deletion on the item inside a folder for custom content apps Created: 07/Apr/21  Updated: 26/Nov/21  Resolved: 26/Nov/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Carlos Cantalapiedra Assignee: Unassigned
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File child-item-not-removable.png     PNG File child-item-removable.png     PNG File root-item-removable.png     PNG File screenshot1.png     PNG File screenshot2.png     Zip Archive test.zip    
Issue Links:
Problem/Incident
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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Steps to reproduce

  1. Copy the sample content app attached to this ticket within light-modules folder
  2.  Start Magnolia
  3.  Open Test app
  4.  Create a folder
  5. Add a new Item within the folder
  6.  Select the item and click on Delete
  7.  Check the item is marked for deletion
  8.  Check the Publish deletion button is disabled

Expected results

The item within the folder can be deleted

Actual results

The option Publish deletion is disabled

Workaround

N/A

Development notes

If the Item is created on root level (not within a folder), the Publish deletion option is enabled (check root-item-removable.png).

If the parent folder is published, then the option Publish deletion is enabled (check child-item-removable.png).

If the parent folder is not published, then the Publish deletion option is disabled (check child-item-not-removable.png)


Generated at Mon Feb 12 09:38:36 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.