[Catalyst] [again] die() in an action chain : does not break the chain !

Charlie Garrison garrison at zeta.org.au
Fri Mar 14 09:47:01 GMT 2008


Good evening,

On 14/3/08 at 8:54 AM +0100, Dami Laurent (PJ) 
<laurent.dami at justice.ge.ch> wrote:

>Sorry, I already asked the same question a couple of days ago, but
>probably I was not clear enough.
>My problem is that if there is an exception at the entry point of an
>action chain, processing nevertheless continues until the endpoint of
>the chain.


I thought Jonas gave a pretty good answer:

>On 11/3/08 at 5:03 PM -0000, Jonas Alves <jonas.alves at gmail.com> wrote:
>
>>Probably you need to catch it and call detach.

I even made a note about his answer since it's something I had 
wondered about. And it's such an easy/obvious solution.

Of course you may be asking something else. But it looks like a 
'detach' added to your actions would do the trick.

Charlie

-- 
    Charlie Garrison  <garrison at zeta.org.au>
    PO Box 141, Windsor, NSW 2756, Australia

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt



More information about the Catalyst mailing list