Actions
Bug #79181
closedStory #69617: FormEngine bugs
Icons added with Page TS doesn't work
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2017-01-06
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
When adding new element with PageTs icons doesn't work. Icon was registered with IconRegistry.
TCEFORM.tt_content.imageorient { addItems { 101 = new option 101.icon = new-option-icon } }
Looks like problem is in "typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractItemProvider.php" on line 158.
It's getting svg as inline markup
$icon = $iconFactory->getIcon($iconIdentifier, Icon::SIZE_SMALL)->getMarkup('inline');
instead it should keep icon identifier
$icon = $iconIdentifier;
Actions