You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/10/16 13:31:45 UTC
[jira] [Commented] (WW-4100) "error" result defined in
global-results is ignored when using convention plugin
[ https://issues.apache.org/jira/browse/WW-4100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13796672#comment-13796672 ]
ASF subversion and git services commented on WW-4100:
-----------------------------------------------------
Commit 1532732 from [~lukaszlenart] in branch 'struts2/trunk'
[ https://svn.apache.org/r1532732 ]
WW-4100 Solves problem with global "error" result when used with Convention plugin
> "error" result defined in global-results is ignored when using convention plugin
> --------------------------------------------------------------------------------
>
> Key: WW-4100
> URL: https://issues.apache.org/jira/browse/WW-4100
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Convention
> Affects Versions: 2.3.14.3
> Reporter: Mark Woon
> Assignee: Lukasz Lenart
> Fix For: 2.3.16
>
> Attachments: Fix_for_WW-4100_no_constant_and_testcase.patch, Fix_for_WW-4100_.patch
>
>
> If you have an "error" result defined in global-results in struts.xml and use the convention plugin, the global error result is ignored.
> If you have this:
> {code}
> <global-results>
> <result name="error" type="dispatcher">/error/strutsError.jsp</result>
> </global-results>
> </package>
> {code}
> The convention plugin will only dispatch to action-error.jsp or action.jsp when the former is not found, ignoring the global-results.
--
This message was sent by Atlassian JIRA
(v6.1#6144)