-
Task
-
Resolution: Outdated
-
Neutral
-
None
-
5.0
-
-
Empty show more show less
-
Empty show more show less
When you change configuration of an app, for instance within a sub app or its permissions or something else the AppDescriptorRegistry does not fire events. It only fires event if any of name, enabled, icon or appClass is change.
AppDescriptorRegistry performs checks on the app providers it has registered in order to send very fine grained events. It relies on providers implementing the equals method to compare them as they are registered. These fine grained events are all processed identically and so don't seem to be necessary.
Simplifying this would mean that we instead of firing REGISTERED,REREGISTERED,UNREGISTERED would fire a single event meaning that the set of app descriptors has changed.
This concerns the classes:
- info.magnolia.ui.framework.app.registry.AppDescriptorRegistry
- info.magnolia.ui.framework.app.registry.AppRegistryEvent
- info.magnolia.ui.framework.app.registry.AppRegistryEventType
- info.magnolia.ui.framework.app.registry.AppRegistryEventHandler
- relates to
-
MGNLUI-3380 App launcher layout reloading mechanism is broken and bogus
- Accepted