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

RenderURL.setBeanParameter(PortletSerializable) sets an incorrect parameter name for CDI bean portlets

    Details

      Description

      Problem Background

      If RenderURL.setBeanParameter(PortletSerializable) is called from within a CDI bean portlet, then the parameter name will have "$Proxy$_$$_WeldClientProxy" as a suffix.

      Steps to Reproduce

      1. Copy the attached WAR to $LIFERAY_HOME/deploy

      2. Add the "test_render_state_scoped" portlet to a portal page

      3. Reload the page

      4. Click on the link

      Expected Results

      The following should be displayed in the portlet:

      FooBean render parameter values=[Mustang, Blue]
      BarBean render parameter values=[Dakota, Red]
      

      Actual Results

      FooBean render parameter values=
      BarBean render parameter values=[Dakota, Red]
      

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
              Recent user:
              Neil Griffin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                29 weeks, 1 day ago

                Packages

                Version Package