Details
-
Type:
Bug
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.8
-
Fix Version/s: None
-
Component/s: External Tool (IMS-LTI)
-
Labels:
-
Affected Branches:MOODLE_38_STABLE
Description
In Moodle 3.8 when an external tool is launched with custom_parameters (eg force_embed=1) the following error is currently produced, before it does finally launch.
Trying to get property of non-object at .../mod/lti/locallib.php on line 1829
It appears to be a regression of :
https://tracker.moodle.org/browse/MDL-60415
To reproduce this:
- Create a new external tool
- Enter the cartrige URL for a course that has been published as LTI
- Enter the secret matching that cartridge URL
- Choose to open the launched tool in a new window
- Set custom parameter: force_embed=1
- When you launch the LTI activity and debugging is sending output to screen , then you will see the above error flash by en-route to the application loading