cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r279533 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java
Date Thu, 08 Sep 2005 08:01:28 GMT
Author: cziegeler
Date: Thu Sep  8 01:01:24 2005
New Revision: 279533

URL: http://svn.apache.org/viewcvs?rev=279533&view=rev
Log:
Quick fix for wrong pipeline component instantiation

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java?rev=279533&r1=279532&r2=279533&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java
Thu Sep  8 01:01:24 2005
@@ -129,6 +129,14 @@
     public void inform(String pipelineName,
                        Map    parameters,
                        Map    objectModel) {
+        // FIXME quick fix to get pipeline section running again
+        if ( this.processingPipeline != null ) {
+            this.pipelineSelector.release(this.processingPipeline);
+            this.pipelinesManager.release(this.pipelineSelector);
+            this.pipelineSelector = null;
+            this.pipelinesManager = null;
+            this.processingPipeline = null;
+        }
         this.processingPipelineName = pipelineName;
         this.processingPipelineParameters = parameters;
         this.processingPipelineObjectModel = objectModel;



Mime
View raw message