-
Bug
-
Resolution: Fixed
-
Major
-
3.2
-
MOODLE_32_STABLE
-
MOODLE_32_STABLE
-
MDL-56564-master-2 -
Since the Preconfigured tool select field is always disabled when editing an external tool. This should also be the case for the "Select content" button.
To reproduce:
- -Create a course. -
Turn editing on.Create an external activity.Enter a Launch/cartridge URL.Click "Save and return to course"Click on the edit menu of the external tool.- Select Edit settings.-
Check the Select content button under Preconfigured tool.ExpectedThe button should be disabled.
ActualThe button is not disabled.
Since the "Select content" button was introduced into the external tool mod form, the original patch for it involved disabling of the "Preconfigured tool" selector when on edit mode, which essentially prevents an existing external tool activity from being reconfigured, unlike in the earlier versions.
This introduced complications in terms of the logic for rendering the form elements. Now, thinking back why the Preconfigured tool selector must be disabled, we realise that we really can't come up with a good enough reason to justify this change. So perhaps it might be better to revert this.