If the JSON file has a null course_preference field, then we get an internal server because parse_preference in chass_importer.rb fails. In this case it is just because there is no case to handle null.
This actually gets at another bug. Students leave course_preferences blank, and in this case their preferences should be the list of courses.
If the JSON file has a null course_preference field, then we get an internal server because parse_preference in chass_importer.rb fails. In this case it is just because there is no case to handle null.
This actually gets at another bug. Students leave course_preferences blank, and in this case their preferences should be the list of courses.