[MAGNOLIA-2962] Race condition when requesting dialog while the dialogs are being reloaded Created: 02/Dec/09  Updated: 02/Dec/13  Resolved: 02/Dec/13

Status: Closed
Project: Magnolia
Component/s: admininterface, core, gui
Affects Version/s: 4.2.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Jan Haderka Assignee: Philipp Bärfuss
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File stacktrace.txt    
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   

The situation occurs when someone tries to open or reload a dialog while dialogs are being reloaded (which can be triggered by registering new dialog). The easiest way to reproduce this as a single user is to use packager and create a package that will update multiple dialogs and install such package. During installation, packager periodically refreshes the dialog and eventually will run into the exception (attached). The issue can be however reproduced by multiple users as well when one user is updating the dialog while another one is opening any other dialog.
The fix should probably make sure that if request for dialog comes during reloading the dialogs, such request is held back until reloading is finished.
Similar probably occurs for templates (or in the very least should be checked to confirm that it is not an issue).



 Comments   
Comment by Tobias Mattsson [ 02/Dec/13 ]

This was fixed in SCRUM-859

Generated at Mon Feb 12 03:41:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.