helhum / upload_example

File Upload using Extbase and FAL
101 stars 51 forks source link

Support "multiple" attribute #29

Open M-arcus opened 7 years ago

M-arcus commented 7 years ago

Using the multiple attribute for the input leads to an exception:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to a member function _isNew() on null | Error thrown in file /.../typo3_src-7.6.16/typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php in line 484.

On TYPO3 7.6.16

helhum commented 7 years ago

Thanks for your report

The multiple attribute is not yet supported by this example

M-arcus commented 7 years ago

There is an error in the TYPO3\CMS\Extbase\Property\PropertyMapper too, because it tries to map the file-array, that has multiple items.

helhum commented 7 years ago

as I said multiple is not supported by this example ^^

roel018 commented 3 years ago

Bumping this one... Support for and understanding of uploading multiple files at once to an imageCollection instance would be awesome. I can't figure it out myself...