You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Eric B (JIRA)" <ji...@apache.org> on 2013/11/11 21:35:17 UTC

[jira] [Created] (TILES-575) Definition loading from Resolvers inconsistent

Eric B created TILES-575:
----------------------------

             Summary: Definition loading from Resolvers inconsistent
                 Key: TILES-575
                 URL: https://issues.apache.org/jira/browse/TILES-575
             Project: Tiles
          Issue Type: Bug
          Components: tiles-core
    Affects Versions: 3.0.3
            Reporter: Eric B


When definitions are initially loaded from tiles.xml, exact string matches take precedence over anything resolved by a Resolver (Pattern, etc).  However, once a definition has been resolved by the resolver, it is cached in the same definitions hashmap as the exact strings, and any implied precedence is lost.

Essentially, the first time a definition is resolved, Tiles applies a specific precedence, but subsequent resolutions do not resolve following the same rules.

This can be seen in CachingLocaleUrlDefinitionDAO.getDefinition():



--
This message was sent by Atlassian JIRA
(v6.1#6144)