There is no solution to this until we have conditional models.
The point it having routes_onerror is to redirect to static pages or
to another app.

On Apr 28, 4:42 am, selecta <[email protected]> wrote:
> i am currently writing an issue tracker, that works already quite
> nicely
> however I have a big problem
>
> I want the issue tracker to create custom error messages
> i learned that you can do this by modifying routes.py
> routes_onerror = [ ('pyMantis/500', '/pyMantis/plugin_issue/
> error_ticket') ]
>
> this works quite well ... as long as the error is not in a model
> since all models are executed before the view is shown this leads to
> an infinite loop :(
> is there a way to prevent this problem (e.g. different route on model
> errors?)
>
> btw a demo can be seen 
> herehttp://pymantis.org/pymantis_server/plugin_issue/index

Reply via email to