ubc / compair

ComPAIR: a peer review application pairing student answers for deeper learning through comparison of peer work
http://ubc.github.io/compair
GNU General Public License v3.0
36 stars 11 forks source link

Unicode in assignment text causes "Internal server error" #959

Closed rikblok closed 4 years ago

rikblok commented 4 years ago

Adding a smiley 🙂 (and presumably other unicode) in the "Additional assignment information" when editing an assignment throws a scary red "Internal server error" message when trying to save. Fortunately, nothing is lost and removing the unicode character allows to save.

But the user may not know why it fails to save and the error message isn't enlightening 😉

I'm using the version currently at https://compair.elearning.ubc.ca

timkato commented 4 years ago

@rikblok Thanks for reporting this! We have a fix in our test environment, we happen to be working on this through https://github.com/ubc/compair/issues/908 and intend to deploy to production before September (hopefully end of July) Cheers, Tim