EntityCache tries to use a protected method of UtilCache wrongly
----------------------------------------------------------------
Key: OFBIZ-1296
URL: https://issues.apache.org/jira/browse/OFBIZ-1296
Project: OFBiz
Issue Type: Bug
Components: framework
Affects Versions: SVN trunk
Reporter: Adam Heath
Fix For: SVN trunk
Attachments: framework-entity-EntityCache-CacheLine-hasExpired.patch
EntityCache fetches all CacheLines, then tries to pass that to hasExpired.
However, the method that takes a CacheLine parameter is protected, so the
compiler uses the other one, that just takes an Object. While this compiles,
it does not function correctly.
The attached patch makes it use the hasExpired() on CacheLine, introduced by
OFBIZ-1295.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.