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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to