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

course_modules_availability records not deleted...

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Conditional activities
    • Labels:
      None
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Hi Sam,

      was testing activity availability restore when I've detected that the course_modules_availability records aren't being deleted when the activity is deleted.

      In my environment test I use remove_course_contents() intensively, that seems to be missing the corresponding delete_records() from that table. Sorry for not providing you more details.

      Note that also course_modules_completion seems to be affected (I get it continuously growing).

      Ciao

        Attachments

          Activity

            People

            • Assignee:
              quen Sam Marshall
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Tester:
              Nobody
              Participants:
              Component watchers:
              Sam Marshall, Jake Dallimore, Jun Pataleta, Ryan Wyllie
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10