Project

General

Profile

Actions

Bug #79181

closed

Story #69617: FormEngine bugs

Icons added with Page TS doesn't work

Added by Pixelant Developer almost 8 years ago. Updated almost 8 years ago.

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;

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #78747: pageTsConfig addItems still brokenClosed2016-11-18

Actions
Actions #1

Updated by Christian Kuhn almost 8 years ago

  • Parent task set to #69617
Actions #2

Updated by Christian Kuhn almost 8 years ago

  • Status changed from New to Closed

resolved as dupe of #78747

Actions

Also available in: Atom PDF