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

Assignments CXF method can behave incorrectly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.3
    • Fix Version/s: None
    • Component/s: Assignments, Web Services
    • Labels:
      None

      Description

      The setAssignmentGradeCommentforUser method in the CXF Assignments endpoint now behaves unpredictably because it was not updated with the code changes in SAK-29406 to allow two decimal points in new assigments.

      The method takes a string grade argument that is the real grade * 10. However, assignments created since SAK-29406 expect the grade * 100, and so the grade in Assignments and Gradebook may be in correct.

      We have a rewritten version of this method that takes a float for grade (the real grade, not multiplied by any scale factor) which we can contribute if everyone is happy with changing the method signature in a maintenance release. Or we can change it for Sakai 12 only.

      It seems unlikely that many people have used this particular endpoint in 11.x, otherwise the issue would have been noticed before.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                maintenanceteam Core Team
                Reporter:
                smarquard Stephen Marquard
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Git Integration