-
Bug
-
Resolution: Fixed
-
Critical
-
4.1
-
MOODLE_401_STABLE
-
MOODLE_401_STABLE
-
MDL-76033-master -
After landing MDL-58266 if you update Moodle to use latest code and access course page without running upgrade you will get
Debug info: ERROR: relation "mdl_course_modules_viewed" does not exist |
LINE 6: ... LEFT JOIN mdl_course... |
^
|
SELECT cm.id AS cmid, cmc.*,
|
CASE WHEN cmv.id IS NULL THEN 0 ELSE 1 END AS viewed |
FROM mdl_course_modules cm
|
LEFT JOIN mdl_course_modules_completion cmc
|
ON cmc.coursemoduleid = cm.id AND cmc.userid = $1 |
LEFT JOIN mdl_course_modules_viewed cmv
|
ON cmv.coursemoduleid = cm.id AND cmv.userid = $2 |
INNER JOIN mdl_modules m ON m.id = cm.module
|
WHERE m.visible = 1 AND cm.course = $3 |
[array (
|
0 => 2, |
1 => 2, |
2 => '13', |
)]
|
Error code: dmlreadexception
|
We should force site upgrade to create a table
- is a regression caused by
-
MDL-58266 "Student must view this activity to complete it" should be written to database
- Closed