-
Bug
-
Resolution: Fixed
-
Critical
-
2.3.1, 2.4
-
MOODLE_23_STABLE, MOODLE_24_STABLE
-
MOODLE_23_STABLE
-
wip-
MDL-34234-m24
I found when trying to drag and drop resources into a course the resources would be successfully added but the loading icon would be displayed until I refreshed the page.
I checked the XHR request and found the following preceding the JSON response.
<b>Notice</b>: Undefined property: stdClass::$showsize in <b>/var/www/integration/mod/resource/lib.php</b> on line <b>515</b><br />
<br />
<b>Notice</b>: Undefined property: stdClass::$showtype in <b>/var/www/integration/mod/resource/lib.php</b> on line <b>516</b><br />
After browsing to Site Administration > Plugins > Activity modules > File and saving the form without making changes things returned to normal, obviously during the upgrade I must have missed the settings update so likely just a case of checking isset in that function to cover missed upgrade steps.
- is a regression caused by
-
MDL-31121 File resource: Option to display file size, type
-
- Closed
-