Bug #90543
closedGeneralUtility::callUserFunction no longer supports file reference
100%
Description
Since Typo3 v9, GeneralUtility::callUserFunction no longer supports file reference for calling a method or function, such as this:
path/to/file.php:myClass->myMethod
However, Typo3 v9 still suggests using it for [FE][pageNotFound_handling] and [FE][pageUnavailable_handling] (see screenshot regression.png).
Files
Updated by Susanne Moog about 5 years ago
The syntax has been deprecated with https://review.typo3.org/c/Packages/TYPO3.CMS/+/48352/ in 8.2.0 and was removed in v9 as announced. The example for pageNotFound_handling should be adjusted (however, note that pageNotFound_handling and pageUnavailable_handling are both deprecated in version 9, too and should be replaced by error handling configuring in site configuration)
Updated by Susanne Moog about 5 years ago
- Tags deleted (
regression) - Is Regression changed from Yes to No
Updated by Susanne Moog about 5 years ago
- Related to Task #76345: Deprecate path prefixes in callUserFunction and getUserObj added
Updated by Gerrit Code Review about 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63443
Updated by Susanne Moog about 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1b252f004c4d34e80d53ce6920e0b458f622c025.