[ http://issues.apache.org/jira/browse/BEEHIVE-381?page=history ]
Rich Feit updated BEEHIVE-381:
------------------------------
Description:
Repro:
- Add the following to a page flow:
@Jpf.Catch(type=IllegalStateException.class, path="error.jsp",
message="${pageFlow.URI}")
- In error.jsp, add the following tag:
<netui:error key="java.lang.IllegalStateException"/>
- Hit an action that throws IllegalStateException.
Expected: see the page flow's URI displayed in error.jsp
Actual: see nothing displayed in error.jsp.
@Jpf.Catch should put the exception under a key created from the exception
class name, as long as you didn't specify the 'messageKey' attribute.
was:
Repro:
- Add the following to a page flow:
@Jpf.Catch(type=IllegalStateException.class, path="error.jsp",
message="${pageFlow.URI}")
- In error.jsp, add the following tag:
<netui:error key="java.lang.IllegalStateException"/>
- Hit an action that throws IllegalStateException.
Expected: see the page flow's URI displayed in error.jsp
Action: see nothing displayed in error.jsp.
@Jpf.Catch should put the exception under a key created from the exception
class name, as long as you didn't specify the 'messageKey' attribute.
> @Jpf.Catch does not put expression message into the right error key
> -------------------------------------------------------------------
>
> Key: BEEHIVE-381
> URL: http://issues.apache.org/jira/browse/BEEHIVE-381
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1Alpha, V1Beta
> Reporter: Rich Feit
> Assignee: Rich Feit
> Fix For: V1Beta
>
> Repro:
> - Add the following to a page flow:
> @Jpf.Catch(type=IllegalStateException.class, path="error.jsp",
> message="${pageFlow.URI}")
> - In error.jsp, add the following tag:
> <netui:error key="java.lang.IllegalStateException"/>
> - Hit an action that throws IllegalStateException.
> Expected: see the page flow's URI displayed in error.jsp
> Actual: see nothing displayed in error.jsp.
> @Jpf.Catch should put the exception under a key created from the exception
> class name, as long as you didn't specify the 'messageKey' attribute.
--
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