Open s2t2 opened 8 years ago
Currently valid attributes, when submitted through the form, also cause an error, even though the video gets added to the library.
This behavior is due to a double execution of the videos#create controller action, once via the normal browser flow and once via the ajax request. The ajax request works, then is followed by the normal browser flow action, which throws and error due to lack of sufficient params (as expected).
As an Admin, if I visit
/videos/new
and submit invalid attributes through the form, I should see error messages to help me re-submit with valid attributes.