[MGNLUI-7000] Unable to delete item below unpublished folder Created: 23/Aug/21  Updated: 16/Feb/22  Resolved: 05/Jan/22

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

Type: Bug Priority: Neutral
Reporter: zzz_Philipp Güttler Assignee: Jaroslav Simak
Resolution: Fixed Votes: 1
Labels: VN-Testing
Remaining Estimate: Not Specified
Time Spent: 3h
Original Estimate: Not Specified

Attachments: PNG File 2021-08-23 18_53_06.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Release notes required:
Yes
Date of First Response:
Sprint: DevX 1
Story Points: 2

 Description   

Steps to reproduce

  1. Create Content-Type based App with types item and folder
  2. Open app
  3. Create folder
  4. Create item inside folder
  5. Delete item

OR

  1. Open content type app: https://demoauthor.magnolia-cms.com/.magnolia/admincentral#app:tours:browser;::
  2. Create a folder
  3. Create another folder inside this folder
  4. Delete the second folder

"isPublishable"

.. Logs, screenshots, gifs...

Expected results

User should be able to use action "Publish deletion".

.. Justify non-trivial expectations with a link to a doc or a relevant discussion.

Actual results

Item is marked as deleted, but user is unable to publish deletion because of default-rule.

Workaround

  • Publish the folder first
  • use decoration to override action rules under subApps.browser.actions.activateDeleted.availability.rules to only contain isDeleted and remove isPublishable

Development notes

Easy fix.


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