Story #68805: Replace current icons in the core by using the new Icon-API
Replace icon by the IconFactory actions-reference-file
Register the icon "actions-reference-file" and replace the iconUtility calls for that icon with the IconFactory.
The icon actions-reference-file is still a image icon. Need to wait for the SVG!
[TASK] Replace icon by IconFactory: actions-reference-file
As the icon was missing even before this patch and the function is
only be called in the case of an import from TYPO3 4.5 I took the
liberty to just replace it with the reference-hard icon, to which
it is connected.
Reviewed-by: Nicole Cordes <email@example.com>
Tested-by: Nicole Cordes <firstname.lastname@example.org>
Reviewed-by: Morton Jonuschat <email@example.com>
Tested-by: Morton Jonuschat <firstname.lastname@example.org>
Reviewed-by: Christian Kuhn <email@example.com>
Tested-by: Christian Kuhn <firstname.lastname@example.org>
#1 Updated by Morton Jonuschat about 4 years ago
- Subject changed from Replace icon by the IconFactory actions-insert-reference to Replace icon by the IconFactory actions-reference-file
- Description updated (diff)
#5 Updated by Jan Helke about 4 years ago
The only way to test that is to copy typo3/sysext/impexp/Tests/Functional/ImportFromVersionFourDotFive/PagesAndTtContentWithRteImagesAndFileLink/ImportExportXml/pages-and-ttcontent-with-rte-image-n-file-link.xml to fileadmin/user_upload/_temp_/importexport and try to import that.
Than the icon in front of " RTEmagicP_typo3_image2.jpg (Original)" is the icon in question. Yes, it is already missing. But as I would not remove that, because it might be possible that someone will import old 4.5 stuff, I will push a patch for that.