Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2764

Android decimal "," "." no warning, grade lost

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.2
    • Fix Version/s: 3.6.0
    • Component/s: Assignment add-on
    • Labels:
    • Testing Instructions:
      Hide

      This issue needs to be tested in an iOS device, an Android 5 or older and an Android 6 or higher.

      1. In the app, login as teacher in Mobile 34 and configure the app to use Spanish language.
      2. Go to MM Dev Testing > Assignments > Assignment with multiplier in the grade > Participants.
      3. Open a submission that's already graded with decimals (or grade a new one and open it after grading it). Check that the grade displayed in "Grade" and "Gradebook grade" have the same decimal separator: ",".
      4. Now change the grade, using a point as decimal separator. Check that the grade is successfully updated.
      5. Change the grade again, now using a comma as decimal separator. Check that the grade is successfully updated.
      6. Put some text in the grade. Check that you see an error if you try to send the grade.
      7. Now configure the app to use English language and go back to the grading page. Check that now the grade displayed in "Grade" and "Gradebook grade" have the same decimal separator: ".".
      8. Change the grade, using a point as decimal separator. Check that the grade is successfully updated.
      9. Change the grade again, now using a comma as decimal separator. Check that you see an error if you try to send the grade. 
      Show
      This issue needs to be tested in an iOS device, an Android 5 or older and an Android 6 or higher. In the app, login as teacher in Mobile 34 and configure the app to use Spanish language. Go to MM Dev Testing > Assignments > Assignment with multiplier in the grade > Participants. Open a submission that's already graded with decimals (or grade a new one and open it after grading it). Check that the grade displayed in "Grade" and "Gradebook grade" have the same decimal separator: ",". Now change the grade, using a point as decimal separator. Check that the grade is successfully updated. Change the grade again, now using a comma as decimal separator. Check that the grade is successfully updated. Put some text in the grade. Check that you see an error if you try to send the grade. Now configure the app to use English language and go back to the grading page. Check that now the grade displayed in "Grade" and "Gradebook grade" have the same decimal separator: ".". Change the grade, using a point as decimal separator. Check that the grade is successfully updated. Change the grade again, now using a comma as decimal separator. Check that you see an error if you try to send the grade. 
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Sprint:
      Moodle Mobile 3.6.0

      Description

      I noticed that

      • In iPhone:

                 -  "grade out of 100" shows decimal with "," but in "current grade in gradebook" shows decimal with "."

                 -  whatever you introduce the decimal in "grade out of 100" grades (either with "," or "."), it is always shown in "grade out of 100" with ","

      • In Android:

                 -  "grade out of 100" shows decimal with "." but in "current grade in gradebook" shows decimal with "." ______ OK

                 -  when you introduce the decimal in "grade out of 100" grades with ",", it loses the grade => There is no warning in the App. In the Moodle web there is a warning "The grade provided could not be understood: " (and then show the number introduced), in this case the complete warning would be: "The grade provided could not be understood: 28,39"

       

      It was found in the app, login in Mobile 34 as teacher; go to MM Dev Testing > Assignments > Assignment with multiplier in the grade

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            isabelrenedo Isabel Renedo Rouco
            Peer reviewer:
            Pau Ferrer
            Integrator:
            Juan Leyva
            Tester:
            Isabel Renedo Rouco
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jan/19