Uploaded image for project: 'Publishing'
  1. Publishing
  2. PUBLISHING-30

Wrong publishing storage object in use

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.0
    • 1.0
    • None
    • 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

              rkovarik Roman Kovařík
              rkovarik Roman Kovařík
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR