-
Bug
-
Resolution: Fixed
-
Major
-
3.2
-
MOODLE_32_STABLE
-
MOODLE_32_STABLE
-
MDL-55325-master -
-
The second step of external tool registration just shows a loading image. Checking out the JavaScript console, I can see the following:
require.js:903 TypeError: a.indexOf is not a function(…)
check @ require.js:903enable @ require.js:1180
init @ require.js:786
(anonymous function) @ require.js:1464
Looks like it got broken after MDL-50937 got integrated.
To reproduce:
- Expose your webserver on the internet using ngrok.
./ngrok http 80
- Set your config.php's $CFG->wwwroot to the http (or https, if you're using https) URL shown in ngrok's console.
- Go to Site administration ► Plugins ► Activity modules ► External tool ► Manage tools
- Enter http://lti.tools/test/tp.php into the Tool URL... field in the Add tool panel.
- Click the Add button.
- Check out the page output.
- Expected:
- The loading indicator goes away and the http://lti.tools/test/tp.php page loads up.
- There should be no JS error.
- Actual
- is a regression caused by
-
MDL-50937 Update to JQuery 3.1
-
- Closed
-