Bug #52953
closedconfigured Backend-Layout icons are not displayed
100%
Description
In the current version of Typo3 6.2 Backend-Layout icons are not displayed. Instead
placeholder images for "missing icon" are shown.
This is caused by the new TYPO3\CMS\Backend\View\BackendLayout\DefaultDataProvider that
returns '/upload/media/' as icon path (see method 'getIconPath($icon)'). In older versions
like v6.1.5 the icon path was read from TCA-array by the FormEngine class and prepend with '../'.
The problem is that the getIcon($icon) method of FormEngine prepend 'gfx/' if the given
icon path doesn't start with "EXT:" or "../". So Typo3 tries to read the icon from
"gfx/upload/media/" that fails.
Files
Updated by Georg Ringer almost 11 years ago
the provider should return the full path. either absolut or from webroot, see e.g. https://github.com/georgringer/belayout_fileprovider/blob/master/Classes/Provider/FileProvider.php#L133
Updated by Georg Ringer almost 11 years ago
- Is Regression changed from No to Yes
Updated by Gerrit Code Review almost 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/25087
Updated by Georg Ringer almost 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8e1d6bd0e0c70ba0c827d17945d07327472dde75.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed