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

Pass AdmincentralErrorHandler to dialogs so they have access to it when detached from UI

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.6
    • None
    • None
    • None
    • UI FW 20
    • 0

      Context

      AdmincentralErrorHandler is the errorHandler of ResurfaceUI. Dialogs (as Windows) are attached to ResurfaceUI. When errorHandler is looked up it is taken from the parent - ResurfaceUI. Dialogs are sometimes detached from UI, yet, they may cause an error right afterwards...

      Current situation

      .. at that point, AdmincentralErrorHandler is unreachable, since ResurfaceUI is not reachable. Errors do not generate pulse messages, so no banner is shown for errors, like in PAGES-370.

      Desired situation

      Pass AdmincentralErrorHandler as error handler of the dialog's window. This way detached dialogs can still pass errors to AEH, who will generate visible error banners as pulse messages.

        Acceptance criteria

              sdemocko Šimon Demočko
              sdemocko Šimon Demočko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

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