[BUGFIX] Fix fileinfo property mapping in ResourceStorage::setFileContents 34/21634/3
authorThomas Maroschik <tmaroschik@dfau.de>
Mon, 24 Jun 2013 14:33:02 +0000 (16:33 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 9 Sep 2013 20:35:01 +0000 (22:35 +0200)
commitca5ea8a63cd334b1aca009ad3577657ecf3bb49e
treee81cf1a028de845a39661a8d95de9a9b5d0b7db8
parenta242f24f0a71cd78b86822c3751a51a670cbbab1
[BUGFIX] Fix fileinfo property mapping in ResourceStorage::setFileContents

Fixes the handling of the mismatch between the file info property
"mimetype" and the file object property "mime_type" by using the
exposed API methods.

Fixes: #49386
Releases: 6.2, 6.1, 6.0
Change-Id: If948de2a8bead340ae97097b3e4e391a27296362
Reviewed-on: https://review.typo3.org/21634
Reviewed-by: Steffen Ritter
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/core/Classes/Resource/ResourceStorage.php