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

External tool page error

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • MDL-67695-MOODLE_39_STABLE_get_lti_proxies
    • MDL-67695-master_get_lti_proxies
    • 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.
      6. Confirm that:
        • A tile is displayed, containing tool information.
        • There are no error messages or pop ups.
      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 . Confirm that: A tile is displayed, containing tool information. There are no error messages or pop ups.

    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

              andrewmadden Andrew Madden
              jlooney jenna
              Dmitrii Metelkin Dmitrii Metelkin
              Jake Dallimore Jake Dallimore
              Janelle Barcega Janelle Barcega
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              11 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Nov/20

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 12 minutes
                  3h 12m