struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-2854) Result definitions are not overridden on subtyping
Date Thu, 18 Dec 2008 01:26:36 GMT

     [ 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.


Mime
View raw message