Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2962

Race condition when requesting dialog while the dialogs are being reloaded

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 4.2.1
    • admininterface, core, gui
    • None

    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).

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              had Jan Haderka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD