[BUGFIX] Fix fileinfo property mapping in ResourceStorage::setFileContents 12/23712/2
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:21 +0000 (22:35 +0200)
commit21371365c8049b0b6db0cebdea8f1b35f525cfba
treee90233a7c24844d248de408c9a9e87fcdf71fb56
parent6dbd9d2fb993fc777ed2de434356210fa53c6341
[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/23712
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/core/Classes/Resource/ResourceStorage.php