[
https://issues.apache.org/jira/browse/WICKET-6988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17551684#comment-17551684
]
ASF subversion and git services commented on WICKET-6988:
---------------------------------------------------------
Commit a695e4be3e65cd1b2847d4b227cf4ad83981ecae in wicket's branch
refs/heads/master from Maxim Solodovnik
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=a695e4be3e ]
[WICKET-6988] String.format is replaced with concatenation of strings
> String.format used in JS generation leads to errors
> ---------------------------------------------------
>
> Key: WICKET-6988
> URL: https://issues.apache.org/jira/browse/WICKET-6988
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 9.10.0
> Reporter: Maxim Solodovnik
> Assignee: Maxim Solodovnik
> Priority: Critical
> Fix For: 10.0.0, 8.14.0, 9.11.0
>
>
> In case system locale is set to Arabic ({{ar-EG}} for ex.)
> Numbers are being printed using Arabic symbols, which is wrong in timeouts
> for ex.
> here is an example:
> {code}
> (function(){Wicket.Timer.set('idb3.0',
> function(){Wicket.Ajax.ajax({"u":"./.?4-1.0-main~container-main","c":"idb3","dep":[function(attrs){return
> Wicket.BrowserInfo.collect()}]});}, ٥٠);})()
> {code}
> NOTE {{٥٠}} is printed instead of {{50}}
> The cause is {{String.format(pattern, args...)}} which will use system
> default locale
> I'll try to hunt such issues one-by-one
--
This message was sent by Atlassian Jira
(v8.20.7#820007)