[ http://issues.apache.org/struts/browse/WW-1571?page=all ]
Ted Husted updated WW-1571:
---------------------------
Description:
At applicatin runtime, the local instance of actionMapper is null in
ServletRedirectResult when an action prefix is used.
* <@s.submit name="redirect:http://www.google.com" value="%{'redirect prefix'}"
/>
Works but the actionMapper is null (just not accessed)
* <@s.submit name="redirect-action:redirectActionPrefix"
value="%{'redirect-action prefix'}" />
Does not work because null actionMapper is accessed.
* <@s.submit name="action:redirectActionPrefixAction"
value="%{'redirect-action without prefix'}" />
Works (utilizes configuration instead of embedded prefix)
The problem may have come about in r414191, when we switched over to injection.
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletRedirectResult.java?view=log
was:
At applicatin runtime, the local instance of actionMapper is null in
ServletRedirectResult.
This may have come about in r414191, when we switched over to injection.
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletRedirectResult.java?view=log
Clarify description of problem case.
> actionMapper null in ServletRedirectResult
> ------------------------------------------
>
> Key: WW-1571
> URL: http://issues.apache.org/struts/browse/WW-1571
> Project: Struts 2
> Issue Type: Bug
> Reporter: Ted Husted
> Priority: Blocker
> Fix For: 2.0.2
>
>
> At applicatin runtime, the local instance of actionMapper is null in
> ServletRedirectResult when an action prefix is used.
> * <@s.submit name="redirect:http://www.google.com" value="%{'redirect
> prefix'}" />
> Works but the actionMapper is null (just not accessed)
>
> * <@s.submit name="redirect-action:redirectActionPrefix"
> value="%{'redirect-action prefix'}" />
> Does not work because null actionMapper is accessed.
> * <@s.submit name="action:redirectActionPrefixAction"
> value="%{'redirect-action without prefix'}" />
> Works (utilizes configuration instead of embedded prefix)
> The problem may have come about in r414191, when we switched over to
> injection.
> http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletRedirectResult.java?view=log
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira