-
Bug
-
Resolution: Fixed
-
Critical
-
3.1
-
MOODLE_31_STABLE
-
MOODLE_31_STABLE
-
MDL-54869-master -
I was trying to use the WebService core_user_add_user_private_files to upload a file to private files in the Mobile app, but I got an error 500.
The function uses file_save_draft_area_files but it doesn't include the file lib/filelib.php.
Another thing I noticed is that, once this is fixed, this WebService deletes what the user has in private files and stores what's in the draft area. AFAIK this means we can't use it to upload a new file unless we upload ALL the private files to the draft area along with the new file. Am I wrong? Was this intended when the WS was created?
- blocks
-
MOBILE-1009 Upload files using the draft area (Moodle 3.1.1 and onwards)
-
- Closed
-
- is a regression caused by
-
MDL-49414 Remove deprecated web services
-
- Closed
-