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

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

User can be both Faculty and Student, which causes many issues. #270

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We'll need to set the teachers. I set some, I don't know how it should be for:

I'm guessing you need to make the teachers again. You can just click the Blue 
Plus sign as a shortcut to make them.

In the future I'll make it skip homeroom courses with no teacher rather than 
error out.

Original issue reported on code.google.com by dmbs...@gmail.com on 11 Jan 2012 at 4:30

GoogleCodeExporter commented 9 years ago
Problem was made due to data corruption due to django not detecting that it 
should cascade delete or null references. The root issue is that a person can 
be both a student and faculty at the same time. If you delete the student it 
takes out the faculty too as is expected. BUT it doesn't take care of the 
references to the faculty leading to DoesNotExist: Faculty matching query does 
not exist.

Original comment by dmbs...@gmail.com on 17 Jan 2012 at 8:55

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 8b1e8dff6e35.

Original comment by da...@burkesoftware.com on 17 Jan 2012 at 9:53