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

Cannot enter a grade in percentage using comma as decimal separator.

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 11.4, 12.0, 19.0
    • Fix Version/s: 12.0, 19.0
    • Environment:
      Using a locale that uses comma as separator, es_ES, fr_FR or Swedish for example.
    • 12 status:
      Resolved
    • Test Plan:
      Hide

      Change the language for your instructor under Home -> Preference to a language that uses the comma as a decimal separator (I used Deutsch/German)

      In your site, click on Gradebook -> Settings

      For Grade Entry choose Percentages and Save Changes

      Click on the Grades tab and enter a few Gradebook items

      Enter some grades for the students, e.g.:

      • 75,5
      • 80,5
      • 95,5

      Verify the grades display as entered and there are no errors

      Verify the Course Grade displays with the comma as a separator also

       

       

      Show
      Change the language for your instructor under Home -> Preference to a language that uses the comma as a decimal separator (I used Deutsch/German) In your site, click on Gradebook -> Settings For Grade Entry choose Percentages and Save Changes Click on the Grades tab and enter a few Gradebook items Enter some grades for the students, e.g.: 75,5 80,5 95,5 Verify the grades display as entered and there are no errors Verify the Course Grade displays with the comma as a separator also    

      Description

      If you use the comma as separator throws an error.

      If you use the point it doesn't save the correct value, it says is correct:

      But after refreshing is not:

       

        Gliffy Diagrams

          Attachments

          1. 12092017_GB_comma_separator.png
            16 kB
            Andrea Schmidt
          2. image-2017-10-30-08-58-49-853.png
            12 kB
            Miguel Pellicer
          3. image-2017-10-30-08-59-23-767.png
            16 kB
            Miguel Pellicer
          4. image-2017-10-30-08-59-39-215.png
            16 kB
            Miguel Pellicer

            Issue Links

              Activity

                People

                • Assignee:
                  agschmidt Andrea Schmidt
                  Reporter:
                  farreri Miguel Pellicer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code