Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.5, 3.1, 3.2
-
Component/s: External Tool (IMS-LTI)
-
Testing Instructions:
-
Affected Branches:MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
-
Fixed Branches:MOODLE_30_STABLE, MOODLE_31_STABLE
-
Epic Link:
-
Pull from Repository:
-
Pull Master Branch:
MDL-55457-master -
Pull Master Diff URL:
Description
According to the specification icon_info should be an object not an array.
https://www.imsglobal.org/lti/model/mediatype/application/vnd/ims/lti/v2/toolproxy%2Bjson/index.html
However since we've supported having it as array for so long and people may be using it that way, a simple check to see if it's an array or not should be enough
See service/toolproxy/classes/local/resource/toolproxy.php execute()