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

Assignments > Invalid values are persisted for the default no submission grade

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 11.4, 12.0, 19.0 [Tentative]
    • Fix Version/s: 12.2, 19.0 [Tentative]
    • Component/s: Assignments
    • Labels:
      None
    • 12 status:
      Resolved
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      If you apply a non-valid grade to submissions, that invalid grade is saved to the database and will remain in the text box.

      Steps to reproduce:

      1. in an assignment using a points grading scale, go to the submission list interface
      2. enter non-numeric characters into the "Apply this grade..." field (as if you were searching for a student, but using the wrong field)
      3. hit the "Apply" button
      4. notice the validation message indicating that the value is invalid
      5. notice the invalid value remains in the text field
      6. notice the invalid value is persisted even if you log out, clear cache, or log in as another maintainer

      The order of operations here needs to be altered: validate the value before saving it.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bjones86 Brian Jones
                  Reporter:
                  bjones86 Brian Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code