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

On 18 September 2013 at 13:52 Eelco Visser tagged 39

On 18 September 2013 at 13:55 Eelco Visser commented:

e.g. http://department.st.ewi.tudelft.nl/weblab/assignment/621/info in instructor mode


On 4 November 2013 at 16:17 Elmer van Chastelet commented:

Querying the db, I found that there are single StudentInCourse instances which have multiple AssignmentSubmission instances for different CourseEdition instances. If I understand the data model correctly, a StudentInCourse instance should relate to an enrolment of a single course edition. Apparently there are some instances of StudentInCourse shared among AssignmentSubmissions crossing multiple course editions.

Can Assignment instances from a specific course be reused by another course or something similar?


On 6 November 2013 at 15:54 Elmer van Chastelet commented:

Also, there are cases where an AssignmentSubmission has a parent (type of AssignmentCollectionSubmission) with different courses in the course properties of parent.submissions (Type of Set<AssignmentSubmission>),


On 25 November 2013 at 20:27 Elmer van Chastelet commented:

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.


On 25 November 2013 at 20:27 Elmer van Chastelet closed this issue.

On 26 November 2013 at 15:47 Elmer van Chastelet commented:

Reopen, because they are still created due to https://yellowgrass.org/issue/WebDSL/698


On 26 November 2013 at 15:47 Elmer van Chastelet reopened this issue.

On 26 November 2013 at 17:43 Elmer van Chastelet commented:

makeSubmission now returns null when student.course is different from assignment.course. Request will then result in a 404.


On 26 November 2013 at 17:43 Elmer van Chastelet closed this issue.

Log in to post comments