-
Bug
-
Resolution: Fixed
-
Critical
-
2.7.8, 2.8.6, 2.9
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
MOODLE_28_STABLE, MOODLE_29_STABLE
-
wip-mdl-50675
-
You can actually try this on the moodle.org site. It's broken there too!
- Create anything that displays the HTML editor (e.g. a label or forum post)
- click the icon for adding an image
- browse repositories
- click Wikimedia
- put anything you like in the search box and search
- images appear as broken image placeholders
Note that it still works in that it does place the full image in the page if you carry on regardless.
If you run the javascript console then lots of errors are thrown, e.g.,
Failed to load resource: the server responded with a status of 404 (Not Found)
https://upload.wikimedia.org/wikipedia/commons/thumb/https://upload.wikimed…Rio_BlancoSan_Mateo.jpg/120px-FCCA_GE_C30-7_Rio_Blanco_San_Mateo.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
Note that the URL is deformed. Has the API changed recently
- Testing discovered
-
MDL-50684 Add unit test for repositories (wikimedia, picasa etc), to ensure they are working
- Closed