You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2005/09/08 10:01:28 UTC

svn commit: r279533 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java

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;