Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-54735

Grade to pass throws an error when a decimal point separator is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.9.6, 3.1
    • Workshop
    • MOODLE_29_STABLE, MOODLE_31_STABLE
    • Hide

      Test 1

      1. Add a Workshop activity to a course.
      2. Edit the activity.
      3. In the 'Submission grade to pass' field enter a valid number and ensure the form saves successfully.
      4. Re-edit the form (change the description but don't touch the 'Submission grade to pass' field) and ensure it saves successfully.

      Test 2

      1. Repeat test 1 using the French language pack. Note - instead of decimal points, commas are used.
      2. Note that step 4 of test 1 fails, as a number using a comma as decimal separator can't be recognized as such.

      Test 3

      1. Repeat tests 1 and 2 for the 'Assessment grade to pass' field
      2. Observe that step 4 of test 1 fails as well.
      Show
      Test 1 Add a Workshop activity to a course. Edit the activity. In the 'Submission grade to pass' field enter a valid number and ensure the form saves successfully. Re-edit the form (change the description but don't touch the 'Submission grade to pass' field) and ensure it saves successfully. Test 2 Repeat test 1 using the French language pack. Note - instead of decimal points, commas are used. Note that step 4 of test 1 fails, as a number using a comma as decimal separator can't be recognized as such. Test 3 Repeat tests 1 and 2 for the 'Assessment grade to pass' field Observe that step 4 of test 1 fails as well.

      Similar to MDL-50394, when creating a Workshop activity in French (as the decimal separator is a comma), it becomes impossible to update the activity once created.

            Unassigned Unassigned
            monidu Nicolas Dunand
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.