cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32095] - Cache Event invalidation not working with non sitemap components
Date Wed, 10 Nov 2004 15:51:44 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32095>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32095

Cache Event invalidation not working with non sitemap components





------- Additional Comments From javageoff@yahoo.com  2004-11-10 15:51 -------
Because event cache system proactively removes invalidated items from the 
Cache, it was deemed unnecessary to invalidate the SourceValidity object.  
Implicit in that reasoning was an assumption that code would be retrieving 
items from the cache, and not caching them privately.  I'm not clear from your 
example where the member variable this.validity is coming from, or whether you 
could use the cache directly to accomplish your purpose.

Still, your situation and the XMLFileModule problem reveal that this assumption 
is not a sound one, and steps should be taken to make EventValidity respect the 
full contract.  Please open a new bug, make this one dependent on that one, and 
let's discuss your proposed changes on the dev list.

Mime
View raw message