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

Duplicating activities causes duplicate rows in course_completion_aggr_methd when course completion enabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 2.1.4, 2.2.1, 2.3
    • Fix Version/s: None
    • Component/s: Backup, Course completion
    • Labels:
      None
    • Testing Instructions:
      Hide

      Replication Instructions

      • Select Settings -> Site Administration -> Advanced
      • Enable 'Completion Tracking'
      • Create a new course
        • Under 'Student Progress', change 'Completion Tracking' to Enabled
      • Select Settings -> Course Administration -> Completion Tracking
      • Save the Settings (this step actually seems to create the initial values in course_completion_aggr_methd)
      • Create a new Lesson with default settings
      • Confirm that you can still access Select Settings -> Course Administration -> Completion Tracking
      • Return to the course
      • Select the duplicate button against the Lesson and confirm
      • Confirm that you can no longer access Select Settings -> Course Administration -> Completion Tracking
      Show
      Replication Instructions Select Settings -> Site Administration -> Advanced Enable 'Completion Tracking' Create a new course Under 'Student Progress', change 'Completion Tracking' to Enabled Select Settings -> Course Administration -> Completion Tracking Save the Settings (this step actually seems to create the initial values in course_completion_aggr_methd) Create a new Lesson with default settings Confirm that you can still access Select Settings -> Course Administration -> Completion Tracking Return to the course Select the duplicate button against the Lesson and confirm Confirm that you can no longer access Select Settings -> Course Administration -> Completion Tracking
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-30825-master-1

      Description

      When duplicating an activity with Course Completion is enabled the records in the course_completion_aggr_methd table are duplicated

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: