Task #83978

Streamline deprecation handling in icon API

Added by Oliver Hader over 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2018-02-20
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Icon API supports some basic handling of deprecated icons as well as keeping track of replacements. However, it is not possible to automatically benefit from these replacements in case they are defined.

  • bug when logging deprecated icon identifiers due to mismatching sprintf arguments
  • automatically making use of available replacements instead of throwing exception
  • possibility to retrieve deprecated icons and replacements (in order to render them in ext:styleguide)

Associated revisions

Revision ffd75102 (diff)
Added by Oliver Hader over 1 year ago

[TASK] Streamline deprecation handling in icon API

Icon API supports some basic handling of deprecated icons
as well as keeping track of replacements. However, it is
not possible to automatically benefit from these
replacements in case they are defined.

This change tackles the following:

  • bug when logging deprecated icon identifiers due to
    mismatching sprintf arguments
  • automatically making use of available replacements
    instead of throwing exception
  • possibility to retrieve deprecated icons and
    replacements (in order to render them in ext:styleguide)

Resolves: #83978
Releases: master
Change-Id: I7faceebc30cca0cd1f392b4845d85ac2e5bf7307
Reviewed-on: https://review.typo3.org/55829
Tested-by: TYPO3com <>
Reviewed-by: Mathias Schreiber <>
Tested-by: Mathias Schreiber <>
Reviewed-by: Frank Naegler <>
Tested-by: Frank Naegler <>

History

#1 Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55829

#2 Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55829

#3 Updated by Oliver Hader over 1 year ago

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

#4 Updated by Benni Mack 11 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF