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

File upload is broken using the latest builds of wsrp-portlet in 6.1.30 and 6.2

    Details

      Description

      File upload is broken for JSF applications using the latest builds of wsrp-portlet in 6.1.30 and 6.2.

      To reproduce this issue:

      1) follow the steps noted in FACES-1717:
      https://issues.liferay.com/browse/FACES-1717

      2) Then follow the steps noted in LPS-30908:
      https://issues.liferay.com/browse/LPS-30908

      The fix for LPS-30908 causes the issue noted in FACES-1717.

      Attached are the wars, I've been using to reproduce this issue.

      • jsf2-portlet-3.2.4-ga5-SNAPSHOT.war can be used to reproduce FACES-1717 on 6.2
      • jsf2-portlet-3.1.4-ga5-SNAPSHOT.war can be used to reproduce FACES-1717 on 6.1.30
      • it-form-sample_3.war can be used to reproduce LPS-30908 on 6.1.30

      NOTE: as of this edit, the following line needs to be added to the liferay-portlet.xml of both the it-form-sample_3.war and the wsrp-consumer portlet in order to test on 6.2 snapshots to verify the fix:
      <requires-namespaced-parameters>false</requires-namespaced-parameters>

      Not to mention that the DTD may need to be updated for 6.2. Here is the liferay-portlet.xml I used in the it-form-sample_3.war when testing on 6.2 snapshots:
      <?xml version="1.0"?>
      <!DOCTYPE liferay-portlet-app PUBLIC "-//Liferay//DTD Portlet Application 6.2.0//EN" "http://www.liferay.com/dtd/liferay-portlet-app_6_2_0.dtd">

      <liferay-portlet-app>
      <portlet>
      <portlet-name>sampleFormPortlet</portlet-name>
      <remoteable>true</remoteable>
      <requires-namespaced-parameters>false</requires-namespaced-parameters>
      </portlet>
      </liferay-portlet-app>

      Attached is also a screenshot showing the fix for FACES-1717 on the right, and the affected version (6.2) on the left.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 4 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.0 CE RC3
                  6.2.0 CE RC4