-
Task
-
Resolution: Fixed
-
Neutral
-
1.0
-
None
-
-
Empty show more show less
-
Empty show more show less
-
Kromeriz 121
The code below holds the publishingStorage created at the time the monitor is created. So it's completely different object after the publishing module restart resulting in an empty activation monitor report.
@Inject public PublishingMonitor(Provider<PublishingCoreModule> publishingCoreModuleProvider) { MBeanUtil.registerMBean("PublishingMonitor", this); this.publishingStorage = publishingCoreModuleProvider.get().getPublishingLogStorage(); }
This used to be an issue in the old activation as well, see info.magnolia.module.activation.monitor.ActivationMonitor#ActivationMonitor. But now there is high change to hit the issue, since we moved all the config under the module (it used to be only config for the activation storage itself).
Acceptance criteria
- relates to
-
PUBLISHING-31 Drop publishing storage in favour of monitor implementation
- Closed