|
The following comment has been added to this issue: |
[ Permlink ] |
Author: Anahide Tchertchian
Date: 12/02/07 12:25
Comment:
some thougths after review: i cannot really see the point of using a custom error interceptor as this is already customizable using the seam exceptions.xml configuration file. plus this interceptor can only be used on business delegates => redirect to custom error page is not performed for other errors.
|
|
The error interceptor sometimes hides errors, especially when error is caught during the rendering phase (new tags debugging shows it).
Other problems :
- error is caught whatever life cycle phase it is => relations create form custom validator, which is defined on the bean, cannot raise a ValidationError properly because the interceptor intercepts it.
- redirect is performed whatever life cycle phase it is: an IllegalStateException (attempt to redirect during render response phase) can be raised instead of the original error...
|
|
|
|
|
|
_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets