-
Bug
-
Resolution: Fixed
-
Critical
-
2.3.2, 2.3.4, 3.1.6, 3.3, 3.3.3, 3.4.1
-
MOODLE_23_STABLE, MOODLE_31_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
wip-
MDL-37757-master -
-
I turned off the Server Files Repository and as a result a course that used it broke completely. Any attempt to access the course returned the following error:
http://docs.moodle.org/23/en/error/repository/invalidrepositoryid
Apparently the only place in the Moodle codebase that throws this error is line 538 of repository/lib.php
I fixed the error by turning the Server Files Repository back on, then manually editing the entries in the table mdl_files_reference so that their repositoryid column, which pointed to the now non-existant repository id "1", pointed instead to the repository id "9" which the newly enabled Server Files repository had been issued with.
I would have expected the files to simply not appear.
- has a non-specific relationship to
-
MDL-41119 cannot edit page resource, if file system repository instance used to add files was deleted
- Closed