Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-8023

Cache Abstraction - Expired cache elements cause return value null instead of calling method

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Complete
    • Affects Version/s: 3.1 M1
    • Fix Version/s: 3.1 M2
    • Component/s: Core
    • Labels:
      None

      Description

      Using Caching Abstraction with EhCache. If a method result cache entry is expired from the backing cache due to having exceeded timeToLiveSeconds, cache abstraction returns a value of null rather than proceeding with the @Cacheable annotated method call.

      This may be related to SPR-8006.

      See the attached example, which is an Eclipse Helios project archive.

        Attachments

          Activity

            People

            • Assignee:
              costin Costin Leau
              Reporter:
              davecurryco Dave Curry
              Last updater:
              Trevor Marshall
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 12 weeks, 1 day ago