Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-17623 Summary of Violated Foreign Key Constraints from 700+ Moodles
  3. MDL-17629

Workout why we are getting foreign key violations on mnet_host.applicationid

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • Minor
    • 1.9.8, 2.0
    • 1.9.3
    • MNet
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE
    • Moderate

    Description

      From Dan's data:

      Moodles Affected Average Percentage rows affected Table Key Total Violated Rows Total Rows
      141 99.8 mnet_host applicationid 282 283

      Work out where these are coming from, and see if we can devise an automated clean-up on upgrade.

      Attachments

        Issue Links

          Activity

            People

              mjollnir Penny Leach
              timhunt Tim Hunt
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                25/Mar/10