[
https://issues.apache.org/struts/browse/TILES-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antonio Petrelli updated TILES-365:
-----------------------------------
Component/s: (was: tiles-jsp (jsp support))
(was: tiles-test)
The problem is in CachingLocaleUrlDefinitionDAO and
ResolvingLocaleUrlDefinitionDAO.
In particular, in the latter one, the definitions are loaded and immediately
resolved (speaking of definition inheritance).
In case of multiple locale, the URLs are loaded (grouped by locale) and then
resolved starting from the "null" locale to the chosen locale.
For example, if I have "it_IT" locale:
* definitions of "null" locale are loaded, then resolved;
* definitions of "it" locale are loaded, then resolved;
* definitions of "it_IT" locale are loaded, then resolved.
These definitions MUST be resolved only at the end, not 3 times.
> Test webapp "testimportattribute_inherit.jsp" test fails
> --------------------------------------------------------
>
> Key: TILES-365
> URL: https://issues.apache.org/struts/browse/TILES-365
> Project: Tiles
> Issue Type: Bug
> Components: tiles-core
> Affects Versions: 2.1.2
> Reporter: Antonio Petrelli
> Assignee: Antonio Petrelli
> Fix For: 2.1.3
>
>
> The "testimportattribute_inherit.jsp" fails, because it displays:
> * valueOne
> * valueTwo
> * valueThree
> * valueOne
> * valueTwo
> * valueThree
> * valueOne
> * valueTwo
> * valueThree
> * valueFour
> Instead of:
> * valueOne
> * valueTwo
> * valueThree
> * valueFour
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.