You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Leonard Broman (JIRA)" <ji...@apache.org> on 2008/10/28 15:10:37 UTC
[jira] Created: (WW-2854) Result definitions are not overridden on
subtyping
Result definitions are not overridden on subtyping
--------------------------------------------------
Key: WW-2854
URL: https://issues.apache.org/struts/browse/WW-2854
Project: Struts 2
Issue Type: Bug
Components: Plugin - CodeBehind
Affects Versions: 2.0.11.2
Reporter: Leonard Broman
Priority: Minor
When inheriting actions, the codebehind plugin is not overriding the definition for the supertype.
Example:
@Result(value="foo.jsp")
public class FooAction ...
@Result(value="bar.jsp")
public class BarAction extends FooAction
Executing bar.action renders foo.jsp anyway.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-2854) Result definitions are not overridden on
subtyping
Posted by "James Holmes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Holmes updated WW-2854:
-----------------------------
Fix Version/s: 2.1.3
> Result definitions are not overridden on subtyping
> --------------------------------------------------
>
> Key: WW-2854
> URL: https://issues.apache.org/struts/browse/WW-2854
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - CodeBehind
> Affects Versions: 2.0.11.2
> Reporter: Leonard Broman
> Priority: Minor
> Fix For: 2.1.3
>
>
> When inheriting actions, the codebehind plugin is not overriding the definition for the supertype.
> Example:
> @Result(value="foo.jsp")
> public class FooAction ...
> @Result(value="bar.jsp")
> public class BarAction extends FooAction
> Executing bar.action renders foo.jsp anyway.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WW-2854) Result definitions are not overridden on
subtyping
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Musachy Barroso resolved WW-2854.
---------------------------------
Resolution: Cannot Reproduce
I am unable to reproduce this. Having this classes:
@Action(name="baseaction",namespace="/foo")
public class AnnotatedAction {
}
@Action(name="myaction",namespace="/foo")
public class MyAction extends AnotherAnnotatedObject{
}
The ActionConfig is properly built with the name "myaction" and class MyAction. Feel free to re-open this ticket if you have a test case that replicates the problem.
> Result definitions are not overridden on subtyping
> --------------------------------------------------
>
> Key: WW-2854
> URL: https://issues.apache.org/struts/browse/WW-2854
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - CodeBehind
> Affects Versions: 2.0.11.2
> Reporter: Leonard Broman
> Priority: Minor
> Fix For: 2.1.3
>
>
> When inheriting actions, the codebehind plugin is not overriding the definition for the supertype.
> Example:
> @Result(value="foo.jsp")
> public class FooAction ...
> @Result(value="bar.jsp")
> public class BarAction extends FooAction
> Executing bar.action renders foo.jsp anyway.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.