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

Non paginated cache is not getting updated when saving using persist method

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed

      Description

      When saving using a class that does not contain any finder methods, the cache will not reset itself when listing objects in a non paginated query.

      To reproduce:
      1) Use the ams-portlet plugin and save an asset.
      2) You'll notice that the list that gets returned does not contain the newest asset added.

      Workaround: when you "Clear the database cache" in control panel -> Server Administration, you will now see the asset you added show up in the list.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sophia.zhang Sophia Zhang
              Reporter:
              wesley.gong Wesley Gong
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 21 weeks, 2 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2