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

Undefined array key warning when editing an LTI 2.0 tool via site admin

XMLWordPrintable

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • MDL-79440-master
    • Hide
      1. Create 2 Moodle sites - platform and tool
      2. Set up an assignment on the tool site and publish it as an LTI tool , using the "Legacy LTI (1.1/2.0)" tab, and take note of the "Registration URL")
      3. In the plaform site, go to "Site admin > Plugins > Activity plugins >External tool > Manage tools"
      4. Enter the Registration URL you copied earlier
      5. Click "Add legacy LTI"
      6. Continue through the registration process and activate the tool
      7. Edit the tool by using the cog in the tool card
      8. Verify there are no warnings on the page
      9. Change "Tool configuration usage" to "Show in activity chooser and as a preconfigured tool"
      10. Save
      11. Go to a course
      12. Click to add an activity, selecting the tool you just edited
      13. Verify the instance form loads without errors
      14. Click "Save and return to course"
      15. Launch the tool and confirm it loads the content from the other Moodle site (the assignment)
      Show
      Create 2 Moodle sites - platform and tool Set up an assignment on the tool site and publish it as an LTI tool , using the "Legacy LTI (1.1/2.0)" tab, and take note of the " Registration URL ") In the plaform site, go to "Site admin > Plugins > Activity plugins >External tool > Manage tools" Enter the Registration URL you copied earlier Click "Add legacy LTI" Continue through the registration process and activate the tool Edit the tool by using the cog in the tool card Verify there are no warnings on the page Change "Tool configuration usage" to "Show in activity chooser and as a preconfigured tool" Save Go to a course Click to add an activity, selecting the tool you just edited Verify the instance form loads without errors Click "Save and return to course" Launch the tool and confirm it loads the content from the other Moodle site (the assignment)
    • 1

      Noticed when testing MDLQA-18233. Should be a relatively simple fix too. I didn't test with LTI 2.0 forms when I added this feature, so shame on me really (but we should also drop LTI 2.0 support given it's long dead now...)

      To replicate:

      1. Create 2 Moodle sites - platform and tool
      2. Set up an assignment on the tool site and publish it as an LTI tool , using the "Legacy LTI (1.1/2.0)" tab, and take note of the "Registration URL")
      3. In the plaform site, go to "Site admin > Plugins > Activity plugins >External tool > Manage tools"
      4. Enter the Registration URL you copied earlier
      5. Click "Add legacy LTI"
      6. Continue through the registration process and activate the tool
      7. Edit the tool by using the cog in the tool card
        Expected: No warnings are shown
        Actual: You see the following warnings:

            jaked Jake Dallimore
            jaked Jake Dallimore
            Ilya Tregubov Ilya Tregubov
            Huong Nguyen Huong Nguyen
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 17 minutes
                1h 17m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.