]
Manik Surtani updated JBCACHE-1541:
-----------------------------------
Fix Version/s: 3.2.1.CR1
3.2.1.GA
When modifying evicted node, parent nodes are marked as loaded
--------------------------------------------------------------
Key: JBCACHE-1541
URL:
https://jira.jboss.org/jira/browse/JBCACHE-1541
Project: JBoss Cache
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Cache loaders
Affects Versions: 3.2.0.GA
Reporter: Krzysztof Sobolewski
Assignee: Manik Surtani
Fix For: 3.2.1.CR1, 3.2.1.GA
Attachments: ParentDataLoadedTest-fix.patch, ParentDataLoadedTest.java
This one's rather simple and it's almost a direct transcription of the test
case:
1) Node /a/a/a and all its parents get modified (so that data is non-empty);
2) Node /a is evicted recursively;
3) Node /a/a/a is modified;
4) Parent nodes get created with "dataLoaded" flag set to true and are
subsequently not loaded when accessed, appearing empty.
I'm also attaching a proposed fix; as usual, I don't know what else might blow up
because of it :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: