]
Krzysztof Sobolewski updated JBCACHE-1541:
------------------------------------------
Attachment: ParentDataLoadedTest.java
The test case.
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
Attachments: 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: