[ https://issues.apache.org/jira/browse/WICKET-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577043#action_12577043 ]
Igor Vaynberg commented on WICKET-1361: --------------------------------------- i commented out the localizer line for now, and added a todo for 1.4 > Localizer doesn't honor style when caching property lookups > ----------------------------------------------------------- > > Key: WICKET-1361 > URL: https://issues.apache.org/jira/browse/WICKET-1361 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.3.1 > Reporter: Meetesh Karia > Assignee: Igor Vaynberg > Fix For: 1.3.2 > > > In Wicket 1.2.6, we created some properties files like: > Foo.properties > Foo_style1.properties > Foo_style2.properties > and used StringResourceModel to look up property values. This worked > correctly as in 1.2.6, Localizer didn't cache the property lookups and > respected the style. However, in 1.3, Localizer now caches the lookups but > doesn't respect the style when creating the cache key (though it does append > the locale to the end of the cache key). > The side-effects of this are that whatever style is in use when a property is > first looked up, that property value will be returned for all subsequent > lookups regardless of style. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.