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

Layouts with non-cacheable-layout embedded portlets are not cached by CacheFilter

Details

    Description

      Steps to reproduce:

      1. Create a portlet plugin with layout-cacheable property set to false that shows the current date and time.
      2. Embed this portlet into a theme.
      3. Deploy the theme and apply it to a new page.
      4. Open a browser as a Guest user and navigate to that page writing down the date and time that are shown.
      5. Clean the browser's cache and refresh the page.

      Actual result:

      • The date and time displayed after the refresh are the same.

      Expected result:

      • The date and time displayed change.

      Attachments

        1. LPS-57330-portlet-6.2.10.1.war
          32 kB
        2. test1-theme-6.2.10.1.war
          2.44 MB
        3. fixed57330.gif
          fixed57330.gif
          61 kB
        4. fixedmaster57330.gif
          fixedmaster57330.gif
          57 kB
        5. reproduced57330.gif
          reproduced57330.gif
          57 kB

        Issue Links

          Activity

            People

              ian.song Ian Song (Inactive)
              daniel.couso Daniel Couso
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                7 years, 16 weeks, 6 days ago

                Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 Alpha 1