[SAK-36506] Events from timer thread should have a session that matches the user who submitted Created: 16-Jun-2017 Updated: 31-Oct-2018 Resolved: 21-Jun-2017
|Component/s:||Tests & Quizzes (Samigo)|
|Fix Version/s:||11.5 [Tentative], 12.0|
|Reporter:||Matthew Jones||Assignee:||Matthew Jones|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Previous Issue Keys:||SAM-3224|
As instructor add Statistics and Tests and Quizzes to a course with multiple students.
Create a new assessment
Login as a student.
Now you'll need to look at the events in the database.
If this is working the session_id of the timer thread events should match the session id of the taken events.
For instance this does not match
If an event is posted from the timer thread (and possibly auto-submit job) it isn't able to be linked back to the user that actually submitted the assessment. It is a "dummy" session matching the server. Ideally a session should be created for that user to the event is correct. See test plan
|Comment by Matthew Jones [ 16-Jun-2017 ]|
This looks to also fix
|Comment by Derek Ramsey [ 23-Jun-2017 ]|
Verified on 12x nightly that the events for context and session ID have proper values after timer submit.