Project

General

Profile

Actions

Bug #84649

closed

Opening the newContentElementWizard triggers Deprecation Error

Added by Daniel Goerz about 6 years ago. Updated over 5 years ago.

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

100%

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

Description

How to reproduce
1. Let deprecation errors through (don't handle E_USER_DEPRECATED with errorHandlerErrors)
2. Open the new content element wizard from the page module

You should see a deprectaion message.

It origins from the Method ContentCreationPagePositionMap->onClickInsertRecord(). Here the formerly public and now protected property R_URI is accessed and therefore the PublicPropertyDeprecationTrait triggers a deprecation error.

Possible solutions:
1. Add a public getter for R_URI
2. Pass the R_URI to the method call
3. Pass the R_URI to the class construction
(4. Do something smart)


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #84307: Use ServerRequestInterface in ContentElement/NewContentElementControllerClosedMathias Brodala2018-03-15

Actions
Actions

Also available in: Atom PDF