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

Duplicating activities causes duplicate rows in course_completion_aggr_methd when course completion enabled

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 2.1.4, 2.2.1, 2.3
    • None
    • Backup, Course completion
    • None
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MDL-30825-master-1
    • 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

    Description

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

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: