]
Marek Novotny updated JBSEAM-3355:
----------------------------------
Fix Version/s: The future
(was: 2.3.0.ALPHA)
SeamExpressionEvaluator gobbles up exceptions
----------------------------------------------
Key: JBSEAM-3355
URL:
https://issues.jboss.org/browse/JBSEAM-3355
Project: Seam 2
Issue Type: Bug
Affects Versions: 2.1.0.BETA1
Reporter: Wolfgang Schwendt
Priority: Critical
Fix For: The future
Rev 8710 of org.jboss.seam.bpm.SeamExpressionEvaluator introduced a serious bug. If
the invocation of the method expression (me.invoke(...)) throws an exception such as
org.jboss.seam.security.AuthorizationException, the SeamExpressionEvaluator afterwards
tries to evaluate the EL expression as a value expression. This of course results in a
second exception thrown: PropertyNotFoundException. Consequently, the list
"exceptions" has size > 2 (rather than just size==1), which results in
SeamExpressionEvaluator throwing an ELException that does not wrap the exception which
originally caused the method expression invocation to fail.
The bug was introduced because, compared with earlier versions, the try/catch-blocks for
the method expression and value expression evaluation were changed and are now wrong.
This is serious because it breaks the handling of any application exception thrown while
evaluating the EL method expression, such as AuthorizationException.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: