csmberkeley / scheduler

For managing our students, mentors, and sections
MIT License
8 stars 5 forks source link

Can't add students to sections in "manage sections" admin mode #22

Open tiffanyqi opened 8 years ago

mikeaboody commented 8 years ago

The error is in the AdminsController in add_student_to_section. Specifically, the error is that there is some error within the begin statement and then it’s leaving the begin statement without redirecting and thus tries to render a page that doesn’t exist. I'm not sure what error is being caused in the begin statement and what's worse is that this error is only happening on the deployed version, not the local one. Will the creator of this action take a look at this?

attang commented 8 years ago

Removing some extraneous code fixed it, but I'm going to leave this open as an enhancement because it can be refactored

attang commented 8 years ago

More bugs/edge cases: can't add a student who's enrolled in multiple classes. Also can't add students who share the same name with other students.