Closed (fixed)
Project:
Course
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 May 2016 at 17:30 UTC
Updated:
7 Jun 2016 at 16:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
webservant316 commentedIs this by design? I thought elsewhere it was said that cancelling enrollments or signups would remove all user progress information.
Also as an aside the provided transcript view does not function properly after enrollments are removed, but the user course_report remains.
See this post for the solution https://www.drupal.org/node/2298343.
Though that fix just fixes the view, the underlying disconnected records still remain in course_report.
Comment #3
webservant316 commentedmore clarity, course reports seem to be never deleted after...
cancelling signups
cancelling enrollments
deleting a course
cancelling a user account and removing all their content
Comment #4
webservant316 commentedraising to major because this could be a problem in the case of the reuse of a NID or UID.
Comment #5
webservant316 commentedOkay I created this view to monitor disconnected {course_reports} until this is fixed. It is clear that {course_reports} should be removed if the user or the course is deleted. However, it is unclear what is preferred is the student enrollment is deleted, but the course and user remain.
It is noted that the only problem created by these disconnected {course_reports} is that the student transcript view currently provided by the course module mis-performs if there are extraneous {course_reports} laying around. The fix is either to delete these extraneous {course_reports} with the view below or require the enrollment relation in the transcript view as explained here https://www.drupal.org/node/2298343.
Comment #6
djdevinNot major. "reuse of a NID or UID" would require changing the auto-increment value in your database which is a bad idea.
But we can definitely fix it.
Comment #7
djdevinComment #9
djdevinComment #10
webservant316 commentedwork for me, thanks.