Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-1453

ShowArtifactActionTest makes invalid comma separator assumptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.3
    • 1.4-M1
    • Web Interface
    • None

    Description

      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.

      Attachments

        1. MRM-1453.patch
          0.9 kB
          Mark Struberg

        Activity

          People

            oching Maria Odea B. Ching
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: