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

Wrong field injection in BaseMultiDestinationProxyBean

    Details

      Description

      BaseMultiDestinationProxyBean uses ServiceProxyFactory to track SynchronousMessageSender OSGi services, but it specifies wrong declaring class (BaseProxyBean instead of BaseMultiDestinationProxyBean) for the fields:

      	private static volatile SynchronousMessageSender
      		_defaultSynchronousMessageSender =
      			ServiceProxyFactory.newServiceTrackedInstance(
      				SynchronousMessageSender.class, BaseProxyBean.class,
      				"_defaultSynchronousMessageSender", "(mode=DEFAULT)", true);
      	private static volatile SynchronousMessageSender
      		_directSynchronousMessageSender =
      			ServiceProxyFactory.newServiceTrackedInstance(
      				SynchronousMessageSender.class, BaseProxyBean.class,
      				"_directSynchronousMessageSender", "(mode=DIRECT)", true);
      

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              dante.wang Dante Wang
              Participants of an Issue:
              Recent user:
              Michael Saechang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                29 weeks, 2 days ago

                Packages

                Version Package
                Master