[Flow] Catch Exception while property mapping - Object withidentity not found
Stephen Bungert
stephenbungert at yahoo.de
Tue May 21 08:30:01 CEST 2013
I think the error action is for this (from the api):
"protected string errorAction()
A special action which is called if the originally intended action could not
be called, for example if the arguments were not valid.
The default implementation sets a flash message, request errors and forwards
back to the originating action. This is suitable for most actions dealing
with form input."
stephen
"David Sporer" <david.sporer at gmail.com> schrieb im Newsbeitrag
news:mailman.10311.1367476216.609.flow at lists.typo3.org...
> Hey guys,
>
>
>
> how can I catch the exceptions if a user tries to open a page where an
> object id is in the url that is no longer existant?
>
> Currently an exception is thrown a la "Exception while property mapping
> for
> target type xxx - Object with identity blablabla not found".
>
> I'd like to redirect the user to another page that just tells him a
> generic
> error-flashmessage.
>
>
>
> Is that possible?
>
>
>
> Best regards
>
> David
>
>
>
More information about the Flow
mailing list