cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject svn commit: r1414265 - /cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/PipelineNode.java
Date Tue, 27 Nov 2012 17:08:08 GMT
Author: ilgrosso
Date: Tue Nov 27 17:08:07 2012
New Revision: 1414265

URL: http://svn.apache.org/viewvc?rev=1414265&view=rev
Log:
[COCOON3-113] Explicitly set type to 'noncaching' when executing error pipelines

Modified:
    cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/PipelineNode.java

Modified: cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/PipelineNode.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/PipelineNode.java?rev=1414265&r1=1414264&r2=1414265&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/PipelineNode.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/PipelineNode.java
Tue Nov 27 17:08:07 2012
@@ -105,7 +105,11 @@ public class PipelineNode extends Abstra
     }
 
     protected void installPipeline(final Invocation invocation) {
-        invocation.installPipeline(PIPELINE_CATEGORY + this.type, "true".equalsIgnoreCase(this.internalOnly),
+        // COCOON3-113: explicitly set type to 'noncaching' when executing error pipelines
+        final String runtimeType = invocation.isErrorInvocation()
+                ? "noncaching" : this.type;
+
+        invocation.installPipeline(PIPELINE_CATEGORY + runtimeType, "true".equalsIgnoreCase(this.internalOnly),
                 this.getParameters());
     }
 }



Mime
View raw message