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

Delete competency data when deleting a course/activity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a course with competencies, module competencies, and some competency ratings
      2. Delete a module
        • Confirm that the modulecomp table does not contain its competencies any more
      3. Reset the course and select Remove competency ratings
        • Confirm that no ratings are present in usercoursecomp for this course only
      4. Regrade a few students
      5. Delete the course, and confirm that:
        • There is no more ratings for this course
        • There is no more module competencies for this course
        • There is no more course competencies for this course
        • There is no more course competency settings for this course
      Show
      Create a course with competencies, module competencies, and some competency ratings Delete a module Confirm that the modulecomp table does not contain its competencies any more Reset the course and select Remove competency ratings Confirm that no ratings are present in usercoursecomp for this course only Regrade a few students Delete the course, and confirm that: There is no more ratings for this course There is no more module competencies for this course There is no more course competencies for this course There is no more course competency settings for this course
    • Affected Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-53719-master

      Description

      When a course/activity is deleted we are leaving behind the different competencies that are attached to them, as well as the user ratings, etc... We shouldn't.

        Attachments

          Activity

            People

            Assignee:
            fred Frédéric Massart
            Reporter:
            fred Frédéric Massart
            Peer reviewer:
            Issam Taboubi
            Participants:
            Component watchers:
            Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: