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 09:54:43 UTC

svn commit: r279531 - /cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java

Author: cziegeler
Date: Thu Sep  8 00:54:40 2005
New Revision: 279531

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

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

Modified: cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java?rev=279531&r1=279530&r2=279531&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/components/treeprocessor/InvokeContext.java Thu Sep  8 00:54:40 2005
@@ -128,6 +128,14 @@
     public void inform(String     pipelineName,
                        Parameters 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;