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

MVC Portlet does not work when GZip filter is not applied

    Details

      Description

      Steps to reproduce it:

      1. Create a simple portlet (see portlet-example.jar attached).
      2. Disable GZipFilter in portal-ext.properties: com.liferay.portal.servlet.filters.gzip.GZipFilter=false
      3. Start the application and deploy the portlet on it.
      4. Add the previously deployed portlet to the portal.
      5. Interact with the portlet.

       Observed behaviour: the portlet does not work (in the example the message is not showed). Content-length of the response is 0.

       

       Expected behaviour: the portlet works (in this case we can see the message).

       

        Attachments

        1. portlet-example.jar
          7 kB
        2. portlet_OK.PNG
          portlet_OK.PNG
          9 kB
        3. portlet_length_OK.PNG
          portlet_length_OK.PNG
          27 kB
        4. portlet_length_ERR.PNG
          portlet_length_ERR.PNG
          32 kB
        5. portlet_ERR.PNG
          portlet_ERR.PNG
          9 kB

          Activity

            People

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

              Dates

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

                Packages

                Version Package
                7.0.0 DXP FP28
                7.0.X
                Master