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

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

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

WICKET-5906 Move StringResourceModel to a fluid API

This commit breaks the API late in the release cycle of 7 but
changes made to the constructors of StringResourceModel made
some usages silently failing.

We decided in favor of breaking the API to raise compilation
errors so that users can fix their code.


> Use default on missing resource does not work
> ---------------------------------------------
>
>                 Key: WICKET-5906
>                 URL: https://issues.apache.org/jira/browse/WICKET-5906
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.0.0-M5
>            Reporter: Martijn Dashorst
>            Assignee: Martin Grigorov
>             Fix For: 7.0.0-M6
>
>
> A regression since 6.19.0: when a StringResourceModel tries to lookup a key, 
> but that key doesn't exist in any of the resource bundles, it should use the 
> default if one is provided (and the setting is enabled in Wicket's 
> ResourceSettings), but currently throws an exception, or returns a string 
> with a warning that the resource could not be found.



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

Reply via email to