Project

General

Profile

Actions

Bug #90543

closed

GeneralUtility::callUserFunction no longer supports file reference

Added by David Henninger about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-02-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

regression.png (11.6 KB) regression.png David Henninger, 2020-02-26 14:08

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #76345: Deprecate path prefixes in callUserFunction and getUserObjClosedBenni Mack2016-05-28

Actions
Actions #1

Updated by Susanne Moog about 4 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)

Actions #2

Updated by Susanne Moog about 4 years ago

  • Tags deleted (regression)
  • Is Regression changed from Yes to No
Actions #3

Updated by Susanne Moog about 4 years ago

  • Related to Task #76345: Deprecate path prefixes in callUserFunction and getUserObj added
Actions #4

Updated by Gerrit Code Review about 4 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

Actions #5

Updated by Susanne Moog about 4 years ago

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

Updated by Benni Mack about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF