Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-64161

Setting a bulk invalid grade in single view sets all grades as not empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.5.4
    • 3.6
    • Gradebook
    • MOODLE_36_STABLE
    • MOODLE_35_STABLE
    • MDL-64161-master
    • Hide
      • Please try with Clean and Boost themes.
      1. Create or go to a course (with students enrolled).
      2. Create an assignment activity (default settings are fine).
      3. Go to the Grades page.
      4. Go to the Single view report.
      5. Select the assignment as the grade item.
      6. At the bottom of the page check the "Perform bulk insert" checkbox.
      7. Change the Insert value to -1.
      8. Click the save button.
      9. Check that you see a message for each user that the grade entered is less than the minimum allowed.
      10. Check that the last message is "Grades were set for 0 items".
      11. Try just overriding one grade with a negative number.
      12. Check that you see the same messages about the minimum allowed.
      13. Check that the number of grades updated is 0.
      Show
      Please try with Clean and Boost themes. Create or go to a course (with students enrolled). Create an assignment activity (default settings are fine). Go to the Grades page. Go to the Single view report. Select the assignment as the grade item. At the bottom of the page check the "Perform bulk insert" checkbox. Change the Insert value to -1. Click the save button. Check that you see a message for each user that the grade entered is less than the minimum allowed. Check that the last message is "Grades were set for 0 items". Try just overriding one grade with a negative number. Check that you see the same messages about the minimum allowed. Check that the number of grades updated is 0.

      Replication steps:

      1. Go to the single view report in the gradebook.
      2. Click the All link next to Override.
      3. Below the users click the "Perform bulk insert" check box.
      4. Insert a negative value (-1) and click save.
      5. There should be a message for each user that the grade is below the allowed range or something like that.
      6. Observe that all of the grades are now set at 0.00 and that performing a bulk action (on Empty grades) will not work (as they are now set to 0).

      I think that if the new grade is invalid then nothing should happen to the student grade (0 should not be set).

        1. MDL-64161.PNG
          75 kB
          Anna Carissa Sadia
        2. MDL-64161 (2).PNG
          48 kB
          Anna Carissa Sadia

            abgreeve Adrian Greeve
            moodle.com Moodle HQ
            Mihail Geshoski Mihail Geshoski
            Andrew Lyons Andrew Lyons
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.