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

Grade override with numerical value, issue when submitted value is lesser than 0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.4, 12.0, 19.0
    • Fix Version/s: 12.0, 19.0
    • Component/s: Gradebook
    • Labels:
    • 12 status:
      Resolved
    • 11 status:
      Please Merge
    • Test Plan:
      Hide
      1. Enter to a site with at least one participant.
      2. Add new Gradebook Item.
      3. In the column Course Grade on a student row, click on "Course Grade Override".
      4. Put any numerical value between 0 and 90 as Grade Override and Save.
      5. No error, calculates correctly the Grade.
      6. Now put a negative value (e.g.: -999).
      7. Automatically calculates and saves -999 as a valid Grade.

      Shouldn't save a negative value as a valid Grade, it should calculates the minimum Grade in Grade Type or throw an error if the entered numerical value is a negative value.

      Show
      Enter to a site with at least one participant. Add new Gradebook Item. In the column Course Grade on a student row, click on "Course Grade Override". Put any numerical value between 0 and 90 as Grade Override and Save. No error, calculates correctly the Grade. Now put a negative value (e.g.: -999). Automatically calculates and saves -999 as a valid Grade. Shouldn't save a negative value as a valid Grade, it should calculates the minimum Grade in Grade Type or throw an error if the entered numerical value is a negative value.

      Description

      If you submit a Grade Override with numerical value, but this value is lesser than 0, Grade Override saves this value instead of throws an error or putting the minimum grade on the active schema.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jcebellan Jose Cebellán (Entornos de Formación)
                  Reporter:
                  jcebellan Jose Cebellán (Entornos de Formación)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code