[MAGNOLIA-1639] NoOpCache.getCreationTime(CacheKey) returns 0 Created: 24/Jul/07  Updated: 23/Jan/13  Resolved: 10/Jul/08

Status: Closed
Project: Magnolia
Component/s: cache
Affects Version/s: 3.1 M1
Fix Version/s: 3.6, 3.5.9

Type: Bug Priority: Minor
Reporter: Tom Jensen Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

NoOpCache.getCreationTime(CacheKey) returns a 0 value. For consistency this should return Cache.UNKNOWN_CREATION_TIME (or -1) as NoOpCache.getCreationTime(HttpServletRequest) does.



 Comments   
Comment by Magnolia International [ 09/Jun/08 ]

this is probably outdated or irrelevant for 3.6, but we'll check.

Comment by Magnolia International [ 10/Jul/08 ]

indeed irrelevant with 3.6 but applied fix on trunk nonetheless (old cache classes are still there but deprecated) and 3.5 branch

Generated at Mon Feb 12 03:28:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.