[MGNLSLOCK-62] Move and delete warnings are not properly shown Created: 15/Feb/22  Updated: 22/Mar/22  Resolved: 15/Mar/22

Status: Closed
Project: Magnolia Soft Locking Module
Component/s: None
Affects Version/s: 3.1.1
Fix Version/s: 3.1.2

Type: Bug Priority: Neutral
Reporter: Jesus Alonso Assignee: Jesus Alonso
Resolution: Fixed Votes: 0
Labels: authx
Remaining Estimate: 0d
Time Spent: 2.25h
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLSLOCK-61 User starting editing triggers incons... Open
documentation
to be documented by MGNLSLOCK-64 DOC: Extend notification descriptions... Closed
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
Epic Link: Migrate apps to new UI framework
Sprint: AuthorX 4, AuthorX 5
Story Points: 3

 Description   

Steps to reproduce

  • Open 2 different browsers, one with superuser the other with eric
  • Edit the same page on both browsers
  • Move or delete current page with eric
  • A message reporting that the page has been modified appears.

Expected result

A warning notifying that the page has been moved or deleted should appear.

Development notes

It turns out in DefaultSoftLockingSupport we are receiving additional PROPERTY_CHANGED events, after receiving the expected NODE_REMOVED and NODE_MOVED events. So the warnings are really displayed but immediately replaced by the modification warning.

 



 Comments   
Comment by Jesus Alonso [ 15/Mar/22 ]

The move and delete warnings are now shown as expected

Generated at Mon Feb 12 07:14:59 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.