Project

General

Profile

Actions

Task #64109

closed

Deprecate softRefParser_GL

Added by Stephan Großberndt about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-01-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

typo3/sysext/backend/Classes/Utility/BackendUtility.php defines a general hook "softRefParser_GL" to add a general softRefParser which parses every SoftReference regardless of its type. The "softRefParser_GL"-hook is undocumented and used neither in core nor in any known extension.

http://docs.typo3.org/typo3cms/TCAReference/AdditionalFeatures/SoftReferences/Index.html

There are several types of SoftReferences defined:

There is a default configuration in typo3/sysext/core/Configuration/DefaultConfiguration.php mapping "softRefParser" for several types to TYPO3\CMS\Core\Database\SoftReferenceIndex. Also rtehtmlarea adds a parser for "rtehtmlarea_images".

Removing it would mean a "softRefParser_GL" hook in an extension would have to be replaced with multiple "softRefParser" hooks for each type the parser can handle instead of having one "softRefParser_GL" hook declaring "I want to parse all!". You cannot know how every possible softref has to be parsed, so registering for every type the parser knows to handle is perfectly valid.

Therefore softRefParser_GL should be deprecated in CMS 7 and removed in CMS 8.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #63674: High memory consumption in BackendUtility->explodeSoftRefParserList while bulk insertingClosed2014-12-08

Actions
Actions

Also available in: Atom PDF