cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject cvs commit: cocoon-2.2/src/java/org/apache/cocoon/components/pipeline AbstractProcessingPipeline.java
Date Sat, 31 Jan 2004 13:08:49 GMT
unico       2004/01/31 05:08:49

  Modified:    src/java/org/apache/cocoon/components/pipeline
                        AbstractProcessingPipeline.java
  Log:
  fix problem with reader not being setup
  
  Revision  Changes    Path
  1.27      +4 -2      cocoon-2.2/src/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java
  
  Index: AbstractProcessingPipeline.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/src/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- AbstractProcessingPipeline.java	30 Jan 2004 09:47:59 -0000	1.26
  +++ AbstractProcessingPipeline.java	31 Jan 2004 13:08:49 -0000	1.27
  @@ -430,7 +430,8 @@
           // If this is an internal request, lastConsumer was reset!
           if (null == this.lastConsumer) {
               this.lastConsumer = this.serializer;
  -        } else {
  +        }
  +        if (null != this.lastConsumer || this.reader != null) {
               this.preparePipeline(environment);
           }
           
  @@ -635,6 +636,7 @@
           this.serializer = null;
           this.parameters = null;
           this.processor = null;
  +        this.lastConsumer = null;
       }
   
       /**
  
  
  

Mime
View raw message