Make multiple resource uploads pass on form parameters, which should be ... #1884

Merged
merged 1 commit into from Aug 17, 2012

Conversation

Projects
None yet
3 participants
@robyurkowski
Contributor

robyurkowski commented Aug 17, 2012

...expected behaviour.

In the situation where you add a field to Resources, upon create, you're unable to save any of those additional attributes because we only pass on the file attribute at the moment when the user is uploading multiple files. Of course, the user is always uploading multiple files, because the default html5ish behaviour is to send an array anyway. This corrects the existing create method and allows the user to submit multiple attributes to be saved.

Make multiple resource uploads pass on form parameters, which should …
…be expected behaviour.

In the situation where you add a field to Resources, upon create, you're unable to save any of those additional attributes because we only pass on the file attribute at the moment when the user is uploading multiple files. Of course, the user is always uploading multiple files, because the default html5ish behaviour is to send an array anyway. This corrects the existing create method and allows the user to submit multiple attributes to be saved.
@travisbot

This comment has been minimized.

Show comment Hide comment
@travisbot

travisbot Aug 17, 2012

This pull request passes (merged c98b9dc into 50749a6).

This pull request passes (merged c98b9dc into 50749a6).

parndt added a commit that referenced this pull request Aug 17, 2012

Merge pull request #1884 from resolve/resource-accept-params
Make multiple resource uploads pass on form parameters, which should be ...

@parndt parndt merged commit 70516f2 into master Aug 17, 2012

1 check passed

default The Travis build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment