Details
-
Bug
-
Resolution: Fixed
-
Major
-
16.7.1
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
It's set to true only if the document was already in the cache when it was requested to the XWikiCacheStore, but:
- it's not set to true when the document is loaded from the DB and inserted in the cache
- it's still true if the document is removed from the cache
All that is making it totally unusable.
It would make a lot more sense for XWikiDocument#setFromCache to be triggered from CacheEntryListener#cacheEntryAdded and CacheEntryListener#cacheEntryRemoved.
Attachments
Issue Links
- relates to
-
XWIKI-22512 Make sure to always return a clean document from the cache
- In Progress