Skip to content

Commit

Permalink
[BUGFIX] Remove possibility to exclude width/height in sys_file_metadata
Browse files Browse the repository at this point in the history
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.

Releases: 9.5
Resolves: #89180
Change-Id: I53f6c5353f0a8d629a9d209675a19def2d6c7a60
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63467
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Oliver Bartsch <bo@cedev.de>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
  • Loading branch information
susannemoog authored and georgringer committed Mar 5, 2020
1 parent 51a78b6 commit 6afc789
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions typo3/sysext/core/Configuration/TCA/sys_file_metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@
]
],
'width' => [
'exclude' => true,
'l10n_mode' => 'exclude',
'l10n_display' => 'defaultAsReadonly',
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:file.width',
Expand All @@ -143,7 +142,6 @@
],
],
'height' => [
'exclude' => true,
'l10n_mode' => 'exclude',
'l10n_display' => 'defaultAsReadonly',
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:file.height',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,6 @@
]
],
'width' => [
'exclude' => true,
'l10n_mode' => 'exclude',
'l10n_display' => 'defaultAsReadonly',
'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.width',
Expand All @@ -459,7 +458,6 @@
],
],
'height' => [
'exclude' => true,
'l10n_mode' => 'exclude',
'l10n_display' => 'defaultAsReadonly',
'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.height',
Expand Down

0 comments on commit 6afc789

Please sign in to comment.