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

Error when insert grades in bulk into the gradebook

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-74300-master
    • Hide

      Prerequisites for test

      1. Login as admin and go to Site administration > Development > Make test course
      2. Create a course of medium size
      3. Add forum activity to this course

      Steps to test

      1. Go to the "Settings" of the forum activity and set Grade type under
        "Whole forum grading" to "Point" and click "Save and return to course"
      2. Go to the "Grades" in the course
      3. Select "Single view" from the drop down selector
      4. And then click on "Select grade item..." to select the forum created in prerequisite.
      5. Click the "All" link next to "Override"
      6. Now tick the checkbox "Perform bulk insert"
      7. Set the insert value to "50"
      8. Press "Save" button
      9. The user should not see any error. And the users in the course should be set to "50" grade.
      Show
      Prerequisites for test Login as admin and go to Site administration > Development > Make test course Create a course of medium size Add forum activity to this course Steps to test Go to the "Settings" of the forum activity and set Grade type under "Whole forum grading" to "Point" and click "Save and return to course" Go to the "Grades" in the course Select "Single view" from the drop down selector And then click on "Select grade item..." to select the forum created in prerequisite. Click the "All" link next to "Override" Now tick the checkbox "Perform bulk insert" Set the insert value to "50" Press "Save" button The user should not see any error. And the users in the course should be set to "50" grade.
    • 1
    • QA time, QA time 2

    Description

      1. Log in as a teacher
      2. Create a new course with multiple students.
      3. Create a new forum activitiy and change Whole forum grading > Grade type setting to 'Point'
      4. Save changes and return to course.
      5. Click on 'Grades' in the course administration.
      6. For the forum, click the pencil icon to access single view.
      7. Click the 'All' link next to Override, and check that all override checkboxes are ticked.
      8. At the bottom of the page, click the checkbox next to bulk insert, and try bulk inserting 50 for all grades.
      9. Click the 'Save' button and check that all grades are 50.
        • Expected: There is no error.
        • Current: You get an error.

      Attachments

        1. MDL-74300_1.png
          MDL-74300_1.png
          56 kB
        2. MDL-74300_2.png
          MDL-74300_2.png
          105 kB
        3. MDLQA-16446_2.png
          MDLQA-16446_2.png
          53 kB
        4. with1000sets.png
          with1000sets.png
          78 kB
        5. with3users.png
          with3users.png
          89 kB

        Issue Links

          Activity

            People

              sujith Sujith Haridasan
              amaia Amaia Anabitarte
              Simey Lameze Simey Lameze
              Victor Déniz Falcón Victor Déniz Falcón
              Angelia Dela Cruz Angelia Dela Cruz
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 48 minutes
                  4h 48m