Skip to content

Ensure files are merged with data prior to validation #14

Merged
merged 1 commit into from May 28, 2014

1 participant

@weierophinney
Zend Framework Campus member

Modified the ContentValidationListener to check if the request has any upload files present; if so, it will merge that metadata with the incoming parameter data prior to passing that data to the composed input filter.

@weierophinney weierophinney Ensure files are merged with data prior to validation
Wrote test to validate that when upload files are present, the metadata
is merged with the incoming parameter data prior to validation.
22b4c44
@weierophinney weierophinney added this to the 1.0.2 milestone May 28, 2014
@weierophinney weierophinney merged commit 22b4c44 into zfcampus:master May 28, 2014

1 check passed

Details continuous-integration/travis-ci The Travis CI build passed
@weierophinney weierophinney added a commit that referenced this pull request May 28, 2014
@weierophinney weierophinney Merge branch 'hotfix/file-uploads'
Close #14
47f9601
@weierophinney weierophinney added a commit that referenced this pull request May 28, 2014
@weierophinney weierophinney Merge branch 'hotfix/file-uploads' into develop
Forward port #14
36789ed
@weierophinney weierophinney referenced this pull request in zfcampus/zf-apigility-admin May 28, 2014
Merged

Allow describing file upload fields #182

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.