[ 
https://issues.apache.org/jira/browse/WICKET-5968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14681398#comment-14681398
 ] 

ASF subversion and git services commented on WICKET-5968:
---------------------------------------------------------

Commit 8b7946d822433fcb0873b9ff47b93630d60cfbb4 in wicket's branch 
refs/heads/master from [~dashorst]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=8b7946d ]

WICKET-5968 CachingResourceLocator lookup key doesn't take strict into account


> CachingResourceLocator lookup key doesn't take strict into account
> ------------------------------------------------------------------
>
>                 Key: WICKET-5968
>                 URL: https://issues.apache.org/jira/browse/WICKET-5968
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.20.0, 7.0.0
>            Reporter: Martijn Dashorst
>             Fix For: 7.1.0
>
>
> CachingResourceLocator uses a CacheKey to store lookups for resources. 
> With e.g. 
> - b_nl.js
> - b.js
> When e.g. a strict resource lookup for b.js with locale "us" is performed, it 
> will store the not-found for locale "us" under the cache key. The cache key 
> consists of resource name, locale, style and variation. However when you 
> search non-strict for locale "us", the resource locator should find the 
> non-localized resource "b.js", but since a matching key for the lookup was 
> stored for this particular resource, it will fail.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to