Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.3.7, 2.4.4, 2.5
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
MDL-39317-master -
Description
We have courses with users and submitted assignments which where submitted a long time ago (moodle version from around 2009). The platform was updated several times (now 2.4.3) and also the old assignments where upgraded to the new assignment type.
Take an old course and
- in assignment click on 'view/grade all submissions
- with the filter set to 'no filter' you see a lot of people with / and without submissions
- in the gradingtable set the Filter on 'submitted', you will see no line, in the head of the page 'nothing to show'
-> in the db table 'assign_submission' there are the fields 'timecreated' and 'timemodified' but for the older courses there is no entry in 'timecreated'. I think in former times in the old assignment there were perhaps no field for timecreated or the update procedure failed.
-> solution: change line 142 in mod/assign/gradingtable.php
-----------
if ($this->assignment->is_any_submission_plugin_enabled()) {
if ($filter == ASSIGN_FILTER_SUBMITTED)
....
on the same installation with newer courses there are no problems