Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5248

SessionStore does not re-use the existing bean storage when asked to create one

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.1
    • None
    • None
    • None

    Description

      When SessionStore#createBeanStore is called, it would be more logical to return the existing store if it was previously created and re-use it.

      At the moment though, a new one will be created and will over-write the existing one.

      steps to reproduce:

      • go to Segments app
      • edit any segment, detail sub-app will create several components that involve choosers (each of them will attempt to initialise chooser)
      • close the sub-app, that will trigger an error claiming that no bean storage is registered for choosers (cause the book-keeping sees several attempts to create it, but only the last remains).

      With the fix the above situation is handled by creating the bean storage once and re-using it for the sub-sequent initialisation requests.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              apchelintcev Aleksandr Pchelintcev
              apchelintcev Aleksandr Pchelintcev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Time Spent - 32m Remaining Estimate - 0.85h
                    0.85h
                    Logged:
                    Time Spent - 32m Remaining Estimate - 0.85h
                    32m