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. fixed57330.gif
          fixed57330.gif
          61 kB
        2. fixedmaster57330.gif
          fixedmaster57330.gif
          57 kB
        3. LPS-57330-portlet-6.2.10.1.war
          32 kB
        4. reproduced57330.gif
          reproduced57330.gif
          57 kB
        5. test1-theme-6.2.10.1.war
          2.44 MB

          Issue Links

            Activity

              People

              • Assignee:
                ian.song Ian Song (Inactive)
                Reporter:
                daniel.couso Daniel Couso
                Participants of an Issue:
                Recent user:
                Tina Tian
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 24 weeks, 3 days ago

                  Packages

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