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

External tool assignment is duplicated in a restored course

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a course containing an External Tool assignment.
      2. Notice the gradebook has only one External Tool assignment
      3. Backup the course, using all defaults.
      4. Restore the course to a new course, taking defaults.
      5. Inspect the gradebook of the newly copied course.
      6. Verify: There should be only a single copy of the external tool activity.
      Show
      Create a course containing an External Tool assignment. Notice the gradebook has only one External Tool assignment Backup the course, using all defaults. Restore the course to a new course, taking defaults. Inspect the gradebook of the newly copied course. Verify: There should be only a single copy of the external tool activity.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull Master Branch:
      MDL-36336_modLtiRestoreGrade

      Description

      When a course contains an External Tool assignment. Once that course is backed up and restored to a new course, then newly copied course contains a duplicate of that assignment in the gradebook. The duplicate cannot be removed via the UI.

      Steps to replicate:

      1. Create a course containing an External Tool assignment.
      2. Notice the gradebook has only one External Tool assignment
      3. Backup the course, using all defaults.
      4. Restore the course to a new course, taking defaults.
      5. Inspect the gradebook of the newly copied course.

      Expected result: There should be only a single copy of the external tool activity.

      Actual result: Two External tool assignments appear.

        Attachments

          Activity

            People

            Assignee:
            bushido Mark Nielsen
            Reporter:
            michael.robinette Mike Robinette
            Peer reviewer:
            Dan Poltawski
            Integrator:
            Sam Hemelryk
            Tester:
            Michael de Raadt
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/Jan/13