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

Assignments tool lets students set grades with wrong decimal separator in peer revisions

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 19.0
    • Fix Version/s: 12.6, 19.0
    • Component/s: Assignments
    • Labels:
      None
    • 12 status:
      Verified
    • Test Plan:
      Hide
      1. As a student, go to a peer assignment in a Spanish site and try to grade another student -> The tool lets the student to set the grade with both comma (",") and point (".") without paying attention to the site language.
      2. Now try to set the grade using another symbol, e.g: "3_5" -> The grade losts the decimal part ("3.0").
      3. This time set the grade using a comma (Spanish separator) and, as a instructor, go to the the same assignment to see this grade -> The grade is displayed with point instead of with comma.
      Show
      As a student, go to a peer assignment in a Spanish site and try to grade another student -> The tool lets the student to set the grade with both comma (",") and point (".") without paying attention to the site language. Now try to set the grade using another symbol, e.g: "3_5" -> The grade losts the decimal part ("3.0"). This time set the grade using a comma (Spanish separator) and, as a instructor, go to the the same assignment to see this grade -> The grade is displayed with point instead of with comma.

      Description

      Students are allowed to set grades with any decimal separator without considering the site language, not only points or commas but any separator. If the separator is a point or a comma the grade is stored properly, but if it's any other character, the decimal part is lost. This behaviour should be controlled as well as it is with the instructors, allowing to use just one separator depending on the site language.

      Besides, the instructor always see the grades set by the students with points due to the application gets the grades from BD and transform them to doubles and then to strings, so the point is always there.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jtingen Jolie Tingen
                Reporter:
                adrianmticarum Adrian Martinez
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code