You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2011/01/28 16:42:58 UTC

[jira] Closed: (MRM-1453) ShowArtifactActionTest makes invalid comma separator assumptions

     [ http://jira.codehaus.org/browse/MRM-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching closed MRM-1453.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

Thanks Mark!

Patch applied to trunk [-r1064737|http://svn.apache.org/viewvc?revision=1064737&view=revision].

> ShowArtifactActionTest makes invalid comma separator assumptions
> ----------------------------------------------------------------
>
>                 Key: MRM-1453
>                 URL: http://jira.codehaus.org/browse/MRM-1453
>             Project: Archiva
>          Issue Type: Bug
>          Components: Web Interface
>    Affects Versions: 1.3.3
>            Reporter: Mark Struberg
>            Assignee: Maria Odea Ching
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: MRM-1453.patch
>
>
> ShowArtifactAction creates the human readable size as DecimalFormat("#,###.##"). The problem is that the '.' (dot) in the format not really represents a dot, but the decimal symbol of the respective Locale. Thus over here in Austria, I get "12,6 K" instead of the assumed "12.6 K" which makes the tests fail.
> Solution: either fix the test of explicitely use DecimalFormatSymbols.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira