Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-63694

ReindexStatusMessageSender is not sending status updates

    Details

      Description

      When running a background task that has a Translator class, the messages are not sent because the StatusMessageSenderUtil does not contain an instance of the StatusMessageSenderImpl.

      this is from changing the configuration from Spring to OSGI for the backgroundTaskExecutors, but leaving out the StatusMessageSenders. These should also be marked as OSGI services so that they are injected into the Util classes

      steps to reproduce the issue.

      1) start up portal (in debug mode)
      2) put a breakpoint on all methods in ReindexStatusMessageSenderImpl
      3) reindex

      expected result: the breakpoints will be tripped, showing that status messages are being sent
      actual result: no breakpoints are tripped, showing that no status messages are being sent

      also, if you put a breakpoint in ReindexStatusMessageSenderUtil, you will notice that _reindexStatusMessageSender is a proxy wrapping "null"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lu.liu Lu Liu
                Reporter:
                andrew.betts Andrew Betts
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 32 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 Beta 8