omtetra / openmentor-grails

OpenMentor, ported to Grails
3 stars 3 forks source link

Assertion failed when uploading without course selected #44

Closed morungos closed 11 years ago

morungos commented 11 years ago

It's possible to get through to the submission upload page before a course is selected, through the link on the text page. The result is an assertion failed error:

Error 500: Executing action [upload] of controller [uk.org.openmentor.controller.SubmissionController] caused exception: Runtime error executing action Servlet: grails URI: /grails/submission/upload.dispatch Exception Message: assert course != null | | null false Caused by: Executing action [upload] of controller [uk.org.openmentor.controller.SubmissionController] caused exception: Runtime error executing action Class: SubmissionController At Line: [44]