Bug #99973
closedCreation of dynamic property TYPO3\CMS\Core\DataHandling\DataHandler::$deleteTree is deprecated
0%
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
Updated by Georg Ringer almost 2 years 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?
Updated by Georg Ringer almost 2 years ago
- Related to Task #92560: Drop recursive delete from user settings added
Updated by Alex Kellner almost 2 years 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.
Updated by Georg Ringer almost 2 years ago
- Status changed from Needs Feedback to Closed
closed as requested - not an issue of core