Uploaded image for project: 'Advanced Cache'
  1. Advanced Cache
  2. MGNLADVCACHE-29

EagerRecacheCachePolicy doesn't take UncacheableEntries into account

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6
    • Component/s: None
    • Labels:
      None

      Description

      java.lang.IllegalStateException: Should not be used
      	info.magnolia.personalization.cache.UncacheableEntry.getLastModificationTime(UncacheableEntry.java:66)
      	info.magnolia.module.advancedcache.EagerRecacheCachePolicy.shouldCache(EagerRecacheCachePolicy.java:73)
      	info.magnolia.module.advancedcache.AbstractAdvancedCachePolicy.syncedCacheCheck(AbstractAdvancedCachePolicy.java:58)
      	info.magnolia.module.advancedcache.AbstractAdvancedCachePolicy.shouldCache(AbstractAdvancedCachePolicy.java:49)
      	info.magnolia.module.cache.filter.CacheFilter.doFilter(CacheFilter.java:133)
      
      • Update dependency to cache 5.3.
      • UncacheableEntries should be bypassed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rkovarik Roman Kovařík
              Reporter:
              rkovarik Roman Kovařík
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: