
When multiple uploads present they're lost on validation failure
Reported by shawn (at vegantech) | December 16th, 2013 @ 05:13 PM | in skyward import
This works in production but not in dev, I'm assuning it's due to an upgrade and naming.
Fix explicit names on multiple file fields. If a file field tag has the multiple option, it is turned into an array field (appending []), but if an explicit name is passed to file_field the [] is not appended. Fixes #9830.
This is currently blocking an upgrade to 3.2.16 (from 3.2.13) It was also not caught by tests.
To recreate:
Go to a student
add a team note
Add 2 attachments
Leave the title blank
Hit save.
The attachments should still be there but only the first one is there now (and it appears to be saved.)
Comments and changes to this ticket
-
shawn (at vegantech) December 16th, 2013 @ 05:14 PM
It works in dev but didn't work on the demo server?
-
-
shawn (at vegantech) December 16th, 2013 @ 05:16 PM
- Tag cleared.
It fails in production too, this is not related to the ugprade.
-
shawn (at vegantech) December 16th, 2013 @ 10:55 PM
When #720 is complete, we will need to switch to a different test case as team notes with attachments but no title will be valid.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Student Intervention Monitoring System
People watching this ticket
Referenced by
-
720 Team notes should be valid with blank body if there are attachments Note that when this is done #774 will need a different te...