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

Validation errors during add/edit assignment change some values

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 12.0, 19.0
    • Fix Version/s: 12.3, 19.0
    • Component/s: Assignments
    • Labels:
      None
    • 12 status:
      Resolved
    • Test Plan:
      Hide
      • Add an assignment
      • Do something that will cause a validation error like leaving the instructions blank or the due date set to some value in the past.
      • Set points grading and enter points and don't change anything else
      • Click Post

      There's an alert, notice the maximum possible points are removed. Also if content review was enabled it's checking that.

      Currently content review is only available for testing on experimental.
      https://experimental.nightly.sakaiproject.org/

      It should retain all values on the form in a validation error.

      Show
      Add an assignment Do something that will cause a validation error like leaving the instructions blank or the due date set to some value in the past. Set points grading and enter points and don't change anything else Click Post There's an alert, notice the maximum possible points are removed. Also if content review was enabled it's checking that. Currently content review is only available for testing on experimental. https://experimental.nightly.sakaiproject.org/ It should retain all values on the form in a validation error.

      Description

      If a user edits an assignment and there's a validation error on the form, some values seem to be changed automatically. For instance any points value is erased and content review (if not checked) is checked. See test plan. Some other things might be changed.

      I think this is going to be a common case for anyone editing the assignment and might not be noticed that these change when the user saves.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jesusmmp Jesus Maria Mendez
                  Reporter:
                  jonespm Matthew Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code