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

Bulk insert in Single view for a USER updating more than that users grades.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide

      Summary:

      • User bulk inserts were grabbing more than the grade items for that user to update. This should be fixed now.

      Setup:

      • Atleast a M sized course.

      Test One:

      • Bulk update using the Single view and using the User page. (select a User)
      • All the activities should update without having to click override on the grade items.
      • Test bulk updating empty grades and all grades.
      • Confirmation page should reflect the right amount of grades saved.
      Show
      Summary: User bulk inserts were grabbing more than the grade items for that user to update. This should be fixed now. Setup: Atleast a M sized course. Test One: Bulk update using the Single view and using the User page. (select a User) All the activities should update without having to click override on the grade items. Test bulk updating empty grades and all grades. Confirmation page should reflect the right amount of grades saved.
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-48031-master

      Description

      Steps to reproduce.

      • In Grades -> Singleview.
      • Select a User.
      • Select Bulk insert, add a grade > 0 and select for ALL GRADES.
      • Notice that grades saved is > than the amount of grade items for that user.
      • Notice (If using scales, or exceeding the limit of a range) you get multiple errors for other users.

      Should only update for THAT users grades.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zac Zachary Durber
              Reporter:
              zac Zachary Durber
              Peer reviewer:
              Dave Cooper
              Integrator:
              Damyon Wiese
              Tester:
              Ankit Agarwal
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14