You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Tomas Carlsson (JIRA)" <ji...@apache.org> on 2006/12/08 16:28:57 UTC
[jira] Created: (WW-1553) default-interceptor-ref not inherited
from ParentPackage with Zero config
default-interceptor-ref not inherited from ParentPackage with Zero config
-------------------------------------------------------------------------
Key: WW-1553
URL: http://issues.apache.org/struts/browse/WW-1553
Project: Struts 2
Issue Type: Bug
Components: Configuration
Affects Versions: 2.0.2
Environment: Win XP, J2SE 1.5.0_08
Reporter: Tomas Carlsson
Priority: Minor
When using Zero config and the ParentPackage annotation, the "default-interceptor-ref" is not inherited to the action package.
--
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
[jira] Resolved: (WW-1553) default-interceptor-ref not inherited
from ParentPackage with Zero config
Posted by "Don Brown (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/WW-1553?page=all ]
Don Brown resolved WW-1553.
---------------------------
Fix Version/s: 2.0.2
Resolution: Fixed
Assignee: Don Brown
The problem was that, in xwork, the parent list on the PackageConfig object was in fact a set, and when searching for the default interceptor ref, the first hit was returned. You were never seeing your interceptor ref because the one from struts-default was always being used. I changed xwork to have the parent list a real list, and added packages will go at the front of the line.
> default-interceptor-ref not inherited from ParentPackage with Zero config
> -------------------------------------------------------------------------
>
> Key: WW-1553
> URL: http://issues.apache.org/struts/browse/WW-1553
> Project: Struts 2
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 2.0.2
> Environment: Win XP, J2SE 1.5.0_08
> Reporter: Tomas Carlsson
> Assigned To: Don Brown
> Priority: Minor
> Fix For: 2.0.2
>
> Attachments: s2_1553.patch
>
>
> When using Zero config and the ParentPackage annotation, the "default-interceptor-ref" is not inherited to the action package.
--
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
[jira] Updated: (WW-1553) default-interceptor-ref not inherited
from ParentPackage with Zero config
Posted by "Tomas Carlsson (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/WW-1553?page=all ]
Tomas Carlsson updated WW-1553:
-------------------------------
Attachment: s2_1553.patch
The attached patch fixes the problem, but I'm not sure it is "The Right Way" to do it....
> default-interceptor-ref not inherited from ParentPackage with Zero config
> -------------------------------------------------------------------------
>
> Key: WW-1553
> URL: http://issues.apache.org/struts/browse/WW-1553
> Project: Struts 2
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 2.0.2
> Environment: Win XP, J2SE 1.5.0_08
> Reporter: Tomas Carlsson
> Priority: Minor
> Attachments: s2_1553.patch
>
>
> When using Zero config and the ParentPackage annotation, the "default-interceptor-ref" is not inherited to the action package.
--
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