[ 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