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

UI post-mortem clean-up clears out the wrong bean store when browser page refreshed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.0
    • None
    • None

      There are two aspects:

      • stale UI's are cleared out as a side effect when the re-loaded UI is created. We call {{ getBeanStore(UiContextReference.ofCurrentUi()).clear()}} -> which will clear out the new UI's bean store. Explicit UI reference should be used.
      • the refreshed UI apparently has the same embed ID as the old one and since the embed ID is used as unique identifier of the UI - again, the new UI will get cleared out. We should complement the embed ID with the ui ID (spinner for every Vaadin session).

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD