[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-cvs
Subject:    cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/pipeline AbstractProcessingPipeline.jav
From:       unico () apache ! org
Date:       2004-01-31 13:07:53
Message-ID: 20040131130753.31503.qmail () minotaur ! apache ! org
[Download RAW message or body]

unico       2004/01/31 05:07:53

  Modified:    src/java/org/apache/cocoon/components/pipeline
                        AbstractProcessingPipeline.java
  Log:
  fix problem with Reader not being setup
  
  Revision  Changes    Path
  1.12      +4 -2      \
cocoon-2.1/src/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java
  
  Index: AbstractProcessingPipeline.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- AbstractProcessingPipeline.java	30 Jan 2004 09:45:39 -0000	1.11
  +++ AbstractProcessingPipeline.java	31 Jan 2004 13:07:53 -0000	1.12
  @@ -475,7 +475,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);
           }
   
  @@ -678,6 +679,7 @@
           }
           this.serializer = null;
           this.parameters = null;
  +        this.lastConsumer = null;
       }
   
       /**
  
  
  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic