Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.9.2
-
-
MOODLE_39_STABLE
-
MOODLE_39_STABLE
-
Moodle App 3.9.3
Description
Hi there,
I'm having problems removing course files from my device. Using Moodle 3.9.1+ and Moodle app 3.9.2.
From App Settings > Space Usage - it works fine. I can delete the files from there.
From the course list, though I get the error: "Cannot read property 'getFiles' of undefined"
Steps to reproduce
- Login to the Mobile App
- Download a course to your device (my sample contains a Book and a few H5P activities)
- Check that the course works whilst offline
- Go back to the course list
- Scenario A: Whilst online
- Select the menu (three dots)
- Select "Offload all course data'
- Answer "Delete" when you're asked "Are you sure..."
- Scenario B: Whilst offine
- Select the menu (three dots)
- Select "Offload all course data'
- Answer "Delete" when you're asked "Are you sure..."
Expected behaviour
**Scenario A: Course files are deleted from device
Scenario B: Course files are deleted from device
Actual behaviour
Scenario A: Error: Cannot read property 'getFiles' of undefined
Scenario B: Error: Cannot read property 'getFiles' of undefined