Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-33602

Tests failing when local decimal separator is not '.'

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 12.0, 19.0
    • Fix Version/s: 12.0, 19.0
    • Component/s: Assignments
    • Labels:
      None
    • 12 status:
      Resolved
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      If you try to compile the assignments tool with a locale which uses a decimal separator different from '.' (for example, ',' for Spanish), some tests fail:

      Failed tests:
      AssignmentServiceTest.gradeDisplay:451 expected:<0[.]5> but was:<0[,]5>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bergarvi Bernardo Garcia Vila
                Reporter:
                bergarvi Bernardo Garcia Vila
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code