Hi Lukas,

same here, I've encountered problems while trying to save data into
the database and catch Propel/Doctrine exceptions, but with forwarding
on success (in the try-block). As I can remember Zend Framework
managed forwarding with a flag "isDispatched" which will be set to
false so that the Controller will execute the forwarded action.

On 6 Jul., 13:50, Lukas Kahwe Smith <[EMAIL PROTECTED]> wrote:
> Lukas Kahwe Smith wrote:
> > Hi,
>
> > I always felt it was a nasty hack to use exceptions in order to
> > implement forward(). Exceptions are not control flow!
>
> > Well today I learned again why its bad to do this. If you want to
> > redirect/forward inside a try/catch block you are in for some surprises.
> > Not sure if I just overlooked the bold warning signs, but since this
> > abuse of Exceptions will not be going away, we should set up very bold
> > warning signs about this in several locations in the manual.
>
> err .. this only affects forward() not redirect() ..
> I am still not smiling ..
>
> regards,
> Lukas


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to