Project

General

Profile

Actions

Bug #52953

closed

configured Backend-Layout icons are not displayed

Added by Stefan Krause over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2013-10-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

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

backend-layout-icon-error.png (23.4 KB) backend-layout-icon-error.png Stefan Krause, 2013-10-18 14:36

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #52862: Backend layout icons missing in page propertiesClosed2013-10-15

Actions
Related to TYPO3 Core - Feature #37208: Introduce backend layout data providersClosed2012-05-16

Actions
Actions #1

Updated by Krzysztof Adamczyk over 10 years ago

Ok, i can do this task

Actions #2

Updated by Georg Ringer over 10 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

Actions #3

Updated by Georg Ringer over 10 years ago

  • Is Regression changed from No to Yes
Actions #4

Updated by Gerrit Code Review over 10 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

Actions #5

Updated by Georg Ringer over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF