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

Assignment: followup of MDL-42526 - clean bad data

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.6, 2.6.3, 2.7
    • 2.5.7, 2.6.4, 2.7.1
    • Assignment
    • MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • MDL-45661-master
    • 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

    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.

      Attachments

        Issue Links

          Activity

            People

              damyon Damyon Wiese
              damyon Damyon Wiese
              Sam Hemelryk Sam Hemelryk
              Marina Glancy Marina Glancy
              Frédéric Massart Frédéric Massart
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Jul/14