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

Problems with decimal characters between Assignment and Gradebook

    Details

    • 12 status:
      Resolved
    • Test Plan:
      Hide
      1. As a instructor go to the Gradebook tool ("Calificaciones") at any site with Spanish language and create a Gradebook item.
      2. Go to Assignment tool ("Tareas") at the same site and create an assignment linked with the Gradebook item.
      3. Click on grade ("Calificación") at the assignment and set a grade for a student with comma, e.g: "3,5".
      4. Click on save and release ("Guardar y publicar la nota") -> The grade is displayed truncated ("3,0") in the input field.
      5. Go directly to Gradebook without clicking on any button after saving and releasing the grade -> The grade is correct in Gradebook ("3,5").
      6. Go to assignments and click on grade ("Calificación") again -> The grade is displayed truncated ("3,0") in the list of submissions.
      Show
      As a instructor go to the Gradebook tool ("Calificaciones") at any site with Spanish language and create a Gradebook item. Go to Assignment tool ("Tareas") at the same site and create an assignment linked with the Gradebook item. Click on grade ("Calificación") at the assignment and set a grade for a student with comma, e.g: "3,5". Click on save and release ("Guardar y publicar la nota") -> The grade is displayed truncated ("3,0") in the input field. Go directly to Gradebook without clicking on any button after saving and releasing the grade -> The grade is correct in Gradebook ("3,5"). Go to assignments and click on grade ("Calificación") again -> The grade is displayed truncated ("3,0") in the list of submissions.

      Description

      There is a problem with grades between assignment and gradebook when the site language is different from the server language.

      In the nightlies (English) the problem is with Spanish sites: if the instructor set a grade in assignments with the Spanish format (i.e with a comma), the application stores the grade properly but when it tries to display it, the grade is truncated, so a 5,5 turns to a 5,0.

      Deploying master in our computers (Spanish), the problem is with English sites: if the instructor set a grade in assignments with the English format (i.e with a point), the application stores the grade properly but it is displayed with comma instead of with point.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  adrianmticarum Adrian Martinez
                  Reporter:
                  adrianmticarum Adrian Martinez
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code