Exception generator doesn't work properly
-----------------------------------------
Key: COCOON-2179
URL: https://issues.apache.org/jira/browse/COCOON-2179
Project: Cocoon
Issue Type: Bug
Components: * Cocoon Core
Affects Versions: 2.2-dev (Current SVN)
Reporter: Reinhard Poetz
Priority: Blocker
I run across some obscure behaviour, when I use the exception generator: The
problem is that it only works every second request.
When it fails, following exception is thrown:
Caused by: org.apache.cocoon.ProcessingException: Generator already set. Cannot
set genera
tor 'exception'
at <map:generate type="exception"> -
file:///F:/os/cocoon/trunk/blocks/cocoon-it/.
/src/main/resources/COB-INF/sitemap.xmap:211:43
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setGenerator(A
bstractProcessingPipeline.java:205)
I don't remember that I have seen this with RC2.
I added a sample to cocoon-it and a test case to cocoon-webapp
(org.apache.cocoon.it.sitemap.ErrorHandlingTest).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.