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

The CacheFilter affects .js and .css files uploaded by WebDAV

    Details

      Description

      We connected Win8.1 via WebDAV to a folder on our Liferay Folder.
      Then we copied a js file into the Windows folder.

      Expected result: The js file is accessable/downloadable on the server

      Seen result: After downloading the js file via Document portlet the downloaded file is empty (has 0 Byte).
      Even in the Windows-Explorer with WEBDav connection the file on the server has 0 Byte.

      After adding
      com.liferay.portal.servlet.filters.cache.CacheFilter=false
      to the portlet-ext.properties (and rebooting) we were able to insert a js file to the folder and download it via Document Portlet or an other WebDAV connection.

      The same thing happens with css files.

        Attachments

        1. fix_70.png
          fix_70.png
          35 kB
        2. fix_master.png
          fix_master.png
          34 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 13 weeks, 2 days ago

                Packages

                Version Package
                7.0.0 DXP FP2
                7.0.0 DXP SP1
                7.0.3 CE GA4
                7.1.X
                Master