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

Assignment: followup of MDL-42526 - clean bad data

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.6, 2.6.3, 2.7
    • Fix Version/s: 2.5.7, 2.6.4, 2.7.1
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide
      1. Add some bad data to assign_user_mapping table
        1. insert into PREFIXassign_user_mapping(assignment, userid) values (0, 1);
      2. run the upgrade
      3. Check there are no rows in that table with assignment = 0
      Show
      Add some bad data to assign_user_mapping table insert into PREFIXassign_user_mapping(assignment, userid) values (0, 1); run the upgrade Check there are no rows in that table with assignment = 0
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-45661-master

      Description

      MDL-42526 fixed a bug where the assign_user_mapping table can get filled with bad data. The bad data won't break anything, but we might as well clean it up.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/Jul/14