Submissions by students from different course
A bunch of Dutch students show up in the submission overview of my lecture. I don’t mind, but there seems to be a bug.
It does not appear that the students have access to the submissions. At any rate they have not been enrolled into the other course. However, submissions under their account are created.
Probably a leak in some query.Submitted by Eelco Visser on 10 June 2013 at 20:07
e.g. http://department.st.ewi.tudelft.nl/weblab/assignment/621/info in instructor mode
Querying the db, I found that there are single
StudentInCourseinstances which have multiple
AssignmentSubmissioninstances for different
CourseEditioninstances. If I understand the data model correctly, a
StudentInCourseinstance should relate to an enrolment of a single course edition. Apparently there are some instances of
AssignmentSubmissions crossing multiple course editions.
Assignmentinstances from a specific course be reused by another course or something similar?
Also, there are cases where an
AssignmentCollectionSubmission) with different courses in the
This issue was probably caused by URL-hacking, which could be as simple as adding up the assignment key by one.
Validation now guarantees that no submission is created when the course of the student is not the same as the course of the assignment. Furthermore, the admin-page now has a debug part in which faulty submissions can be deleted.
Reopen, because they are still created due to https://yellowgrass.org/issue/WebDSL/698
student.courseis different from
assignment.course. Request will then result in a 404.
Log in to post comments