You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2006/07/31 13:33:21 UTC

[jira] Resolved: (SB-26) ComponentDefinitionsImpl does not resolve attribute dependencies for different locales

     [ http://issues.apache.org/struts/browse/SB-26?page=all ]

Antonio Petrelli resolved SB-26.
--------------------------------

    Fix Version/s: 2.0
       Resolution: Fixed

Applied a modified version of the patch:  when base definitions are already resolved a re-resolution would throw an exception.
I also modified the test case for testing attribute dependency resolution.

Modified files:
/tiles-core/src/main/java/org/apache/tiles/definition/ComponentDefinitionsImpl.java
/tiles-core/src/test/java/org/apache/tiles/TestComponentDefinitions.java


> ComponentDefinitionsImpl does not resolve attribute dependencies for different locales
> --------------------------------------------------------------------------------------
>
>                 Key: SB-26
>                 URL: http://issues.apache.org/struts/browse/SB-26
>             Project: Sandbox
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 2.0
>         Environment: Windows 2000, Linux (Ubuntu Breezy), JDK 1.5.0_06, Tomcat 5.5.17
>            Reporter: Antonio Petrelli
>         Assigned To: Antonio Petrelli
>             Fix For: 2.0
>
>         Attachments: cd_patch.diff
>
>
> When using different locales, ComponentDefinitions does not resolve attribute dependencies, such as having a definition that has been put as an attribute in another definition.
> There is a FIXME comment inside the code, so I fixed it :-)
> Another problem I found is that when the type is not defined, ComponentDefinitionsImpl does not try to guess what the type is: therefore I decided to correct (if I am right) this behaviour.

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