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 9152] New: - Can't get a validity from correct caching pipeline
Date Thu, 16 May 2002 08:55:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9152>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9152

Can't get a validity from correct caching pipeline

           Summary: Can't get a validity from correct caching pipeline
           Product: Cocoon 2
           Version: Current CVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: stephan@vern.chem.tu-berlin.de


Hi,
I think this is a bug.

@@ -282,7 +282,7 @@
         if (this.redirectSource != null) {
             return this.redirectValidity;
         }
-        if (this.lastModificationDate < 1) {
+        if (this.lastModificationDate == 0) {
             return null;
         } else {
             return new TimeStampValidity( this.lastModificationDate );

because the lastModificationDate were calculated by
String hashKey = pck.toString() + validity.toString();
this.lastModificationDate = HashUtil.hash(hashKey);

And a hashkey can also be negative.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message