[BUGFIX] Remove possibility to exclude width/height in sys_file_metadata 83/59883/3
authorSusanne Moog <susanne.moog@typo3.com>
Wed, 6 Mar 2019 12:39:21 +0000 (13:39 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Fri, 8 Mar 2019 21:40:26 +0000 (22:40 +0100)
commit7947696b1c5b3553a8c6679ff1f9399b55bad6af
tree95ff8b1c05f41714bc0619512ec654f585889410
parentb92e63cd39dcc48d8ab7da815e449597aee295c7
[BUGFIX] Remove possibility to exclude width/height in sys_file_metadata

Width and height are readonly fields updated by system image service API.
To ensure the API (for example the crop wizard) works flawlessly for
editors out of the box, width and height are no longer exclude fields.

Bugfix is for master only, as the workaround for earlier versions is
as simple as putting this in TCA overrides:

unset(
    $GLOBALS['TCA']['sys_file_metadata']['columns']['width']['exclude'],
    $GLOBALS['TCA']['sys_file_metadata']['columns']['height']['exclude']
);

Releases: master
Resolves: #81964
Change-Id: I53f6c5353f0a8d629a9d209675a19def2d6c7a60
Reviewed-on: https://review.typo3.org/c/59883
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/core/Configuration/TCA/sys_file_metadata.php