[MGNLUI-3556] Admincentral-scoped event handlers get removed by app controller before AppLifecycleEvent#STOPPED is fired Created: 07/Sep/15  Updated: 15/Apr/16  Resolved: 08/Sep/15

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.3.10, 5.4.1
Fix Version/s: 5.3.11, 5.4.3

Type: Bug Priority: Neutral
Reporter: Jaroslav Simak Assignee: Aleksandr Pchelintcev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0.5h
Time Spent: 3.5h
Original Estimate: 0.5d

Issue Links:
relation
is related to MGNLUI-3542 Temp files are not deleted after use ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Sprint: Basel 9

 Description   

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


 Comments   
Comment by Aleksandr Pchelintcev [ 08/Sep/15 ]

Simply firing event in the first order in AppControllerImpl#doStop
Fix landed at fix/MGNLUI-3556-apch

Generated at Mon Feb 12 09:07:48 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.