Issue Bug Closed

#79181Icons added with Page TS doesn't work

Pixelant Developer 01/06/17, 10:04 updated 02/05/17, 13:40

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;

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.