Review main Abandoned

37898[FEATURE] Add type converter for file uploads.

Jost Baron CR 0 V 0 Expert +1225 −1 updated 06/30/15, 20:15

Commit message

Adds a type converter to handle file uploads in extbase. The converter
is able to:

 * Add a new uploaded image
 * Replace uploaded images with a new one

It is not able to handle multiple uploaded files from an upload field
with multiple="1".

The converter converts files to
\TYPO3\CMS\Extbase\Domain\Model\FileReference, it does not yield FAL
objects.

To make this work, the f:form.upload ViewHelper needed to be adapted.
It maintains backwards compatibility, if not attached to a property
which is a valid file reference.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 4