Issue Bug Closed

#84649Opening the newContentElementWizard triggers Deprecation Error

Daniel Goerz 04/06/18, 20:28 updated 10/02/18, 10:47

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)

new-element-wizard-deprecation-message.png

Reviews 1