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

External tool page error

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Steps

      1. Navigate to Site administrationPluginsActivitiesExternal toolManage tools and click Manage external tool registrations.
      2. On the Configured tab click Configure a new external tool registration.
      3. On the External tool registration page:
        1. Tool provider name: Test tool 1
        2. Registration URL: https://ltiapps.net/test/tp.php
        3. Capabilities: basic-lti-launch-request
        4. Services: Basic Outcomes
      4. Click Save changes.
      5. Return to Site administrationPluginsActivitiesExternal toolManage tools and again click Manage external tool registrations.

      Expected results

      A tile should be displayed with the tool as entered. There should be no error messages.

      Show
      Steps Navigate to Site administration → Plugins → Activities → External tool → Manage tools and click Manage external tool registrations . On the Configured tab click Configure a new external tool registration . On the External tool registration page: Tool provider name: Test tool 1 Registration URL: https://ltiapps.net/test/tp.php Capabilities: basic-lti-launch-request Services: Basic Outcomes Click Save changes . Return to Site administration → Plugins → Activities → External tool → Manage tools and again click Manage external tool registrations . Expected results A tile should be displayed with the tool as entered. There should be no error messages.
    • Affected Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • Pull from Repository:
    • Pull 3.8 Branch:
      MDL-67695-missing_platformid-38
    • Pull 3.9 Branch:
      MDL-67695-missing_platformid-39
    • Pull Master Branch:
      MDL-67695-missing_platformid

      Description

      Problem Summary:

      When an administrator navigates to the plugins > activity modules > manage external tools area an error message displays and then if you close out of the pop-up error message, you will not see any of the configured tools listed, which misleads the administrator(s) - image link here: https://www.screencast.com/t/NGxvjWQ4XuC

      Workaround: Close the pop-up error and navigate to the manage pre-configured tools link or Manage external tool registrations and you can see the tools available and edit or review as needed

      Other information: upon investigation this issue does not seem to prohibit external tools functioning in courses that are properly registered but it is frustrating and confusing for administrators 

      Replication Steps:

      Navigate to a site: Site administration > Plugins > Activity Modules > External Tool > Manage Tools >

      Error displays: full stack trace below

      invalidresponse
      Invalid response value detected
      File: /lib/externallib.php
      Line: 425
      Stack trace:
      Error in response - Missing following required key in a single structure: platformid
      Error code: invalidresponse

      • line 425 of /lib/externallib.php: invalid_response_exception thrown
      • line 457 of /lib/externallib.php: call to external_api::clean_returnvalue()
      • line 250 of /lib/externallib.php: call to external_api::clean_returnvalue()
      • line 59 of /lib/ajax/service.php: call to external_api::call_external_function()
        Error in response - Missing following required key in a single structure: platformid
        Error code: invalidresponse
      • line 425 of /lib/externallib.php: invalid_response_exception thrown
      • line 457 of /lib/externallib.php: call to external_api::clean_returnvalue()
      • line 250 of /lib/externallib.php: call to external_api::clean_returnvalue()
      • line 59 of /lib/ajax/service.php: call to external_api::call_external_function()

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jlooney jenna
              Peer reviewer:
              Rex Lorenzo
              Integrator:
              Jake Dallimore
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              8 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 1 minute
                  2h 1m