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:
            Clarissa Velazquez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              16 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP100
                7.1.10 DXP FP23
                7.1.10.6 SP6
                7.2.0 GA1
                7.2.10 DXP GA1