cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: svn commit: r638759 - /cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/sitemap/PipelineNode.java
Date Wed, 19 Mar 2008 13:53:16 GMT
On Mar 19, 2008, at 5:39 AM, reinhard@apache.org wrote:

> Author: reinhard
> Date: Wed Mar 19 02:39:07 2008
> New Revision: 638759
>
> URL: http://svn.apache.org/viewvc?rev=638759&view=rev
> Log:
> fix a rather obscure problem with per-pipeline error handlers:
>  If there is a per-pipeline handler in the last! pipeline of a  
> sitemap,
>  it also handled ResourceNotFoundExceptions although it is not  
> responsible for it.
> The solution is to move throwing this exception outside of the catch  
> section which is responsible for catching pipeline errors.

You probably forgot that this was done intentionally. After your  
change, error handlers do not work anymore the way they were supposed  
to work (starting with Cocoon 2.0). Try this URL:

   http://localhost:8888/foo

It soon also should be available on zones (zones did not pick up this  
changes yet):

   http://cocoon.zones.apache.org/demos/trunk/foo


Vadim


Mime
View raw message