[ http://issues.apache.org/jira/browse/BEEHIVE-383?page=history ]
Rich Feit resolved BEEHIVE-383:
-------------------------------
Assign To: Alejandro Ramirez (was: Rich Feit)
Resolution: Fixed
Fixed with revision 155754.
> Expression messages are not getting evaluated before being passed to
> exception-handler methods
> ----------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-383
> URL: http://issues.apache.org/jira/browse/BEEHIVE-383
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1Alpha, V1Beta
> Reporter: Rich Feit
> Assignee: Alejandro Ramirez
> Fix For: V1Beta
>
> Repro:
> - Add the following to a page flow:
> @Jpf.Catch(type=IllegalStateException.class,
> method="handleException", message="${pageFlow.URI}")
> - Add an exception-handler:
> @Jpf.ExceptionHandler()
> public Forward handleException( Exception ex, String actionName,
> String message, Object form )
> {
> System.out.println( message );
> return null;
> }
> - Hit an action that throws IllegalStateException.
> Expected: see the page flow's URI printed to the console.
> Actual: see "${pageFlow.URI}" printed to the console.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira