brhoades / sweaters-but-with-peer-reviews

This was our senior design project for SP2016. It's an alternative to rate my professor which requires metamoderation (peer reviews) for all professor reviews.
http://profreview.xyz
1 stars 1 forks source link

Form errors persist when fixed. #102

Closed JDrilling closed 8 years ago

JDrilling commented 8 years ago

I've been looking into all the form error stuff and I've located several problems regarding the errors we send to the forms and the way form errors are displayed.

The errors sent to forms are no displayed properly. They're all thrown at the top of the popup, even though we have everything in place to display them next to the fields. This is due to a bug in the JSON that the server replies with. Responses to forms that contain errors have and error object inside of an error object. This is redundant.

The second part of this bug, is that the errors don't go away even after a user fixes them.