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

Admincentral-scoped event handlers get removed by app controller before AppLifecycleEvent#STOPPED is fired

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.3.11, 5.4.3
    • 5.3.10, 5.4.1
    • None
    • None

      Steps to reproduce:

      • register event in app/field
                admincentralEventBus.addHandler(AppLifecycleEvent.class, new AppLifecycleEventHandler() {
                    @Override
                    public void onAppFocused(final AppLifecycleEvent event) {
                        System.out.println("onFocus");
                    }
        
                    @Override
                    public void onAppStopped(final AppLifecycleEvent event) {
                        System.out.println("onStop");
                    }
        
                    @Override
                    public void onAppStarted(final AppLifecycleEvent event) {
                        System.out.println("onStart");
                    }
                });
        
      • fire event
      • nothing is printed in the console

        Acceptance criteria

              apchelintcev Aleksandr Pchelintcev
              jsimak Jaroslav Simak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - 0.5d
                    0.5d
                    Remaining:
                    Time Spent - 3.5h Remaining Estimate - 0.5h
                    0.5h
                    Logged:
                    Time Spent - 3.5h Remaining Estimate - 0.5h
                    3.5h