Create an assignment
Add submissions from several students
Make sure some of them have been "submitted"
Run update mdl_assign_submissions set timecreated = 0; in the database.
Login as a teacher
Go to the grading page in the assignment and change the filter to submitted
Verify that you can only see students who have submitted their assignments and you do not see 0 students.

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.

Activity

This issue was assigned to me automatically, however I will not be able to work on this issue in the immediate future. In order to create a truer sense of the state of this issue and to allow other developers to have chance to become involved, I am removing myself as the assignee of this issue.

Damyon Wiese
added a comment - 24/May/13 1:53 AM This issue was assigned to me automatically, however I will not be able to work on this issue in the immediate future. In order to create a truer sense of the state of this issue and to allow other developers to have chance to become involved, I am removing myself as the assignee of this issue.
For more information, see http://docs.moodle.org/dev/Changes_to_issue_assignment

Dan Poltawski
added a comment - 06/Jun/13 5:22 AM
Feature: Thanks to our superb contributors
In order to make Moodle better
As an integrator
I need to thank all our contributors
Scenario: Dan thanks you all
Given I log in as "dan"
And I see "lots of fixed issues"
When I follow "Close integrated issues"
Then I should see "Lots of thanks to all our contributors"
Your changes are upstream