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

Support Context Id History variable

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.9.1, 3.10, 4.0
    • Fix Version/s: None
    • Labels:
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE

      Description

      We're need a way to copy courses with LTI tool links, while still preserving the LTI tool links' information (ie. something like this: https://www.imsglobal.org/lti-course-copy-road-nowhere). We have courses with a lot of external tools, and remapping each one manually is extremely resource-intensive.

      This ticket is about to preserve the history of a course so that it can be communicated to tools so that they can also apply course copy.

       

      Ideal steps:

      1. User creates an external tool with a custom parameter context_id_history=$Context.id.history
      2. User adds an instance of that tool in course A
      3. User copies course A.
      4. User enters the copied course.
      5. User enters the copied external tool, and verifies the custom parameter context_id_history is populated by the course id of A

       

      Note that history is only preserved if restore happens on the same site. Otherwise context history should be left blank.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              claudevervoort Claude Vervoort
              Reporter:
              claudevervoort Claude Vervoort
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: