[BUGFIX] File must use MIME type from index record 11/37211/2
authorAndreas Wolf <aw@foundata.net>
Wed, 25 Feb 2015 12:52:22 +0000 (13:52 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Sun, 1 Mar 2015 21:22:50 +0000 (22:22 +0100)
commit8cdf89c77a790a6f4fb58c4356b7a782c9f3fcbe
tree62d7a9e24109b802dae5bb4c837e74593ea8de7a
parent015b15d9f2398152f00352d4495588c26892d539
[BUGFIX]¬†File must use MIME type from index record

The MIME type is stored in a field "mimetype" in the drivers, while the
field is called "mime_type" in the database. As the file object deals
with both when retrieving the type, it must respect this mismatch.

Change-Id: I06882c4d77e38284a48f7f7d7527bfc1c535edf3
Resolves: #65335
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/37211
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Classes/Resource/AbstractFile.php
typo3/sysext/core/Tests/Unit/Resource/AbstractFileTest.php