Details

    • Fix Priority:
      4

      Description

      Steps to Reproduce:

      1. Deploy the attached portlet onto Liferay
      2. Add "V3 Parameter Test Portlet" to a page
      3. Enable "Single Value"
      4. Input Parameter Name: p1
      5. Input Parameter Value: v1
      6. Send
      7. Assert render parameters display in "Currently set render parameters"
      8. Enable "Single Value"
      9. Enable checkbox "remove parameter"
      10. Input Parameter Name: p1
      11. Input Parameter Value: v1
      12. Send

      Expected Result:
      Parameter p1,v1 is removed.

      Actual Result:
      No parameters are removed.

      The processAction method is running "getActionParameters()", but this is only returning the text values, not the remType or setType (these are null). The portlet will assume default values when they are not defined.

      This portlet is working as expected when deployed on Apache Pluto.

      Form is defined here: https://github.com/apache/portals-pluto/blob/e40641687ef7b88a950f9d36fa58ad447cc62d9e/demo/v3-demo-portlet/src/main/webapp/WEB-INF/jsp/view-ptp.jsp#L57
      Portlet method is here: https://github.com/apache/portals-pluto/blob/e40641687ef7b88a950f9d36fa58ad447cc62d9e/demo/v3-demo-portlet/src/main/java/org/apache/portals/pluto/demo/v3/ParamTestPortlet.java#L127

      Portlet can be manually built by:

      1. git clone https://github.com/apache/portals-pluto
      2. cd portals-pluto/demo/v3-demo-portlet
      3. mvn -P all,liferay clean install
      4. cp target/*.war LIFERAY_HOME/deploy

        Attachments

          Activity

            People

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

              Dates

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