Project

General

Profile

Actions

Bug #99973

closed

Creation of dynamic property TYPO3\CMS\Core\DataHandling\DataHandler::$deleteTree is deprecated

Added by Alex Kellner about 1 year ago. Updated about 1 year ago.

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

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

in2code/migration adds the possibility to use the datahandler from CLI. I know that this is not default, but maybe the problem could be solved easily anyways?

# Example command to delete a page (same for move or copy command)
./vendor/bin/typo3cms migration:datahandler 604 delete

Results in

[ ErrorReporting\DeprecationNotice ]                                                                         
  Deprecated: Creation of dynamic property TYPO3\CMS\Core\DataHandling\DataHandler::$deleteTree is deprecated 


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #92560: Drop recursive delete from user settingsClosed2020-10-13

Actions
Actions #1

Updated by Georg Ringer about 1 year ago

  • Status changed from New to Needs Feedback

thanks for creating the issue!
I am not sure if this is an issue of the core. See #92560 and https://docs.typo3.org/c/typo3/cms-core/11.5/en-us/Changelog/11.0/Breaking-92560-BackendEditorsCanAlwaysDeletePagesRecursive.html which dropped this property! I guess it is the ext migration which stills sets this property?

Actions #2

Updated by Georg Ringer about 1 year ago

  • Related to Task #92560: Drop recursive delete from user settings added
Actions #3

Updated by Alex Kellner about 1 year ago

Yes, I think you're right. It seems that the property DataHandler::deleteTree was removed with https://forge.typo3.org/projects/typo3cms-core/repository/1749/revisions/f3e221a24718ee428caad48180eb4dc79dc95325/diff/typo3/sysext/core/Classes/DataHandling/DataHandler.php. I wasn't aware of that.
Issue can be closed in my eyes.

Actions #4

Updated by Georg Ringer about 1 year ago

  • Status changed from Needs Feedback to Closed

closed as requested - not an issue of core

Actions

Also available in: Atom PDF