cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gree...@apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xsp XSPProcessor.java
Date Thu, 18 Jan 2001 23:06:40 GMT
greenrd     01/01/18 15:06:40

  Modified:    src/org/apache/cocoon/processor/xsp XSPProcessor.java
  Log:
  obscure caching bug
  
  Revision  Changes    Path
  1.38      +3 -4      xml-cocoon/src/org/apache/cocoon/processor/xsp/XSPProcessor.java
  
  Index: XSPProcessor.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/XSPProcessor.java,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- XSPProcessor.java	2001/01/10 21:25:12	1.37
  +++ XSPProcessor.java	2001/01/18 23:06:40	1.38
  @@ -1,4 +1,4 @@
  -/*-- $Id: XSPProcessor.java,v 1.37 2001/01/10 21:25:12 greenrd Exp $ --
  +/*-- $Id: XSPProcessor.java,v 1.38 2001/01/18 23:06:40 greenrd Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -78,7 +78,7 @@
    * This class implements the XSP engine.
    *
    * @author <a href="mailto:ricardo@apache.org">Ricardo Rocha</a>
  - * @version $Revision: 1.37 $ $Date: 2001/01/10 21:25:12 $
  + * @version $Revision: 1.38 $ $Date: 2001/01/18 23:06:40 $
    */
   public class XSPProcessor extends AbstractActor
     implements Processor, Configurable, Status, Cacheable
  @@ -677,8 +677,7 @@
       // Get page from Cocoon store
       PageEntry pageEntry = getPageEntry (request);
   
  -    // New page?
  -    if (pageEntry == null) return true;
  +    if (pageEntry == null) return false;
   
       // NOT pageEntry.isCacheable ()! We are calling the isCacheable method
       // of the XSP page itself.
  
  
  

Mime
View raw message