[MGNLSLOCK-49] Editor displays Notifications for wrong user Created: 03/Sep/19  Updated: 24/Oct/19  Resolved: 25/Sep/19

Status: Closed
Project: Magnolia Soft Locking Module
Component/s: None
Affects Version/s: None
Fix Version/s: 2.7.2, 3.0

Type: Bug Priority: Neutral
Reporter: Thomas Peintner Assignee: Adam Siska
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2019-09-10 at 08.35.58.png     PNG File Screenshot 2019-09-10 at 08.36.07.png     PNG File Screenshot 2019-09-10 at 08.39.11.png    
Issue Links:
Relates
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:
Epic Link: Support
Sprint: UI Framework 6, UI Framework 7

 Description   

When a second user starts editing the same page as a another user,
the message that the other user is editing the page already is not shown.
It says only the second (=current) user started editing the page but it should display that the first user is editing also the page.

How to reproduce:

  • start editing a page with a user (e.g. superuser)
  • edit the same page with another user (e.g. eric)
  • eric gets the notification "eric starts editing this page" – correct would be to pass that information to the superuser and inform eric that superuser is already editing the page
  • when eric closes the page, eric gets the notification "eric is no longer editing this page" – correct would be to pass that information to superuser


 Comments   
Comment by Adam Siska [ 17/Sep/19 ]

Some observation: since 6.0 all uiContext.openNotification() in SoftLockingExtension#updateLocks() calls com.vaadin.ui.Notification that shows notifications in current UI regardless of different uiContexts.
There is view.setNotification() for popup text on status bar extension, that works well.

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