cziegeler 2002/08/09 02:26:19 Modified: src/java/org/apache/cocoon/components/pipeline/impl AbstractCachingProcessingPipeline.java Log: FIX bug with cachingpoint (bug 11131) Revision Changes Path 1.3 +6 -4 xml-cocoon2/src/java/org/apache/cocoon/components/pipeline/impl/AbstractCachingProcessingPipeline.java Index: AbstractCachingProcessingPipeline.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/pipeline/impl/AbstractCachingProcessingPipeline.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AbstractCachingProcessingPipeline.java 4 Aug 2002 17:58:37 -0000 1.2 +++ AbstractCachingProcessingPipeline.java 9 Aug 2002 09:26:19 -0000 1.3 @@ -486,16 +486,18 @@ if (this.getLogger().isDebugEnabled()) { this.getLogger().debug("Cached response not found for '" + environment.getURI() + "'."); } - finished = false; - this.completeResponseIsCached = false; // try a shorter key // FIXME (CZ) calculation of PPK if (cachedPipelineKey.size() > 1) { cachedPipelineKey.removeLastKey(); - this.firstProcessedTransformerIndex--; + if (!this.completeResponseIsCached) { + this.firstProcessedTransformerIndex--; + } } else { cachedPipelineKey = null; } + finished = false; + this.completeResponseIsCached = false; } }
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]