[MGNLUI-6869] Publication of Deletion in JCR not possible Created: 09/Sep/21  Updated: 21/Jun/23  Resolved: 22/Nov/21

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

Type: Bug Priority: Neutral
Reporter: Sofia Lisiza Assignee: Andrei Ichimescu
Resolution: Fixed Votes: 0
Labels: VN-Testing
Remaining Estimate: Not Specified
Time Spent: 0.25d
Original Estimate: Not Specified

Attachments: PNG File Firefox_Screenshot_2021-09-07T12-52-43.451Z.png     PNG File demo-jr-delete-bug.png     PNG File mngbug.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
Date of First Response:
Sprint: UI Maintenance 1
Story Points: 3

 Description   

Steps to reproduce

  1. Delete an element in the Pages App https://nightly.magnolia-cms.com/.magnolia/admincentral#app:pages-app:browser;/sportstation/about::
  2. The element is marked as deleted (trash icon)
  3. Open JCR and try to the publish the deletion there. Publish/Delete options are disabled https://nightly.magnolia-cms.com/.magnolia/admincentral#app:pages-app:browser;/sportstation::

Expected results

Like in the Magnolia versions before it should be possible to publish a deletion and remove the element from the user interface.



 Comments   
Comment by Roman Kovařík [ 09/Sep/21 ]

Hi Sofia,

Can you reproduce on https://demo.magnolia-cms.com/.magnolia/admincentral#app:jcr-browser-app?
Hard to guess without logs, but it's possible that you have a wrong subsriber config https://demo.magnolia-cms.com/.magnolia/admincentral#app:configuration:browser;/modules/publishing-core/config/receivers/magnoliaPublic8080@url:treeview:

Regards
Roman

Comment by Sofia Lisiza [ 09/Nov/21 ]

Hi Roman,

we needed some time to try different scenarios, but we could reproduce it also in the demo.
If we hit "publish deletion" in our system, the site is deleted, although there is an error message.

ERROR info.magnolia.admincentral.AdmincentralErrorHandler 05.11.2021 08:32:43 – Admincentral ist auf einen unerwarteten Fehler gestoßen. java.lang.NullPointerException: null at info.magnolia.pages.app.browser.column.CachingVariantAwareTitleColumnDefinition$ValueProvider.isPersonalized(CachingVariantAwareTitleColumnDefinition.java:66) ~[magnolia-personalization-pages-2.0.9.jar:?]

 

 

Best regards,

Sofia

 

Comment by Roman Kovařík [ 09/Nov/21 ]

Hi Sofia,

 

ERROR info.magnolia.admincentral.AdmincentralErrorHandler 05.11.2021 08:32:43 – Admincentral ist auf einen unerwarteten Fehler gestoßen. java.lang.NullPointerException: null at info.magnolia.pages.app.browser.column.CachingVariantAwareTitleColumnDefinition$ValueProvider.isPersonalized(CachingVariantAwareTitleColumnDefinition.java:66) ~[magnolia-personalization-pages-2.0.9.jar:?]

This is MGNLPN-574 which is fixed in the latest SNAPSHOT and will be part of Magnolia 6.2.13.

 

Hope that helps 

Roman

Comment by Sofia Lisiza [ 16/Nov/21 ]

Hi Roman,

the ticket was originally about the "Delete item"- option, that is not available anymore in the menu of the JCR-App.

As the screenshot shows, the option is not clickable, also not in the demo of Magnolia.

 

Best regards

Sofia

Comment by Roman Kovařík [ 16/Nov/21 ]

Hey Sofia,

Thanks, I've updated the description and reopened the ticket.

Roman

 

Comment by Sofia Lisiza [ 16/Nov/21 ]

Hey Roman,

thank you so much.

Best regards,

Sofia

Comment by Ulrich Scheel [ 21/Jun/23 ]

Hi Roman,

the problem that the page cannot be finaly deleted in the JCR is still not fixed.

Regards, Ulli

Comment by Roman Kovařík [ 21/Jun/23 ]

Hi uscheel,

 

this ticket was closed a long time ago so can't be reopened. But feel free to create a new ticket either in the UI project or rather in the Support in case you need a prompt answer https://docs.magnolia-cms.com/product-docs/6.2/Support.html#_on_reporting_issues_in_general

 

Regards

Roman

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