google-code-export / student-worker-relational-database

Automatically exported from code.google.com/p/student-worker-relational-database
1 stars 1 forks source link

Duplicate/missing Aggregates #282

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Aggregates were somehow duplicated for TC's World Literature course.

unique_together would catch the duplicates getting created, but it'd cripple 
future use of Aggregates.

Replacing get() with filter() and logging an error if multiple returned is 
okayish.

Removing customary blanket try/except from appy generator would also catch this 
stuff before humans do.

Original issue reported on code.google.com by jmil...@cristoreyny.org on 13 Feb 2012 at 9:20

GoogleCodeExporter commented 9 years ago
Sometimes Aggregates aren't created during import: e.g. TC's Algebra 1, Session 
1.

Dev sever doesn't interrupt import if user closes page. Maybe wsgi sees the 
socket close and kills the thread? Bad if so.

Original comment by jmil...@cristoreyny.org on 21 Feb 2012 at 7:52