Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Deprecate array handling in AbstractTreeView
The array handling in AbstractTreeView has not been used in the core for quite some while. To clean that class up a bit, the functionality is now deprecated. Deprecation is covered by the extension scanner, except the class property $this->data which is too common and would create way too many false positives. Change-Id: I7bafdab242bf3d568c733cec669e895b87498241 Resolves: #83904 Releases: master Reviewed-on: https://review.typo3.org/55722 Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org> Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
- Loading branch information
1 parent
96d3514
commit 0a1f7db
Showing
4 changed files
with
94 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
...entation/Changelog/master/Deprecation-83904-ArrayHandlingInAbstractTreeView.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
.. include:: ../../Includes.txt | ||
|
||
======================================================== | ||
Deprecation: #83904 - Array handling in AbstractTreeView | ||
======================================================== | ||
|
||
See :issue:`83904` | ||
|
||
Description | ||
=========== | ||
|
||
Handling arrays instead of database relations in class | ||
:php:`TYPO3\CMS\Backend\Tree\View\AbstractTreeView` | ||
has been deprecated. | ||
|
||
|
||
Impact | ||
====== | ||
|
||
Calling the following methods will throw deprecation errors and will be removed with core version 10: | ||
|
||
* [scanned] :php:`AbstractTreeView->setDataFromArray` | ||
* [scanned] :php:`AbstractTreeView->setDataFromTreeArray` | ||
|
||
The following class properties should not be used any longer and will be removed with core version 10: | ||
|
||
* [not scanned] :php:`AbstractTreeView->data` | ||
* [scanned] :php:`AbstractTreeView->dataLookup` | ||
* [scanned] :php:`AbstractTreeView->subLevelID` | ||
|
||
|
||
Affected Installations | ||
====================== | ||
|
||
This feature was rarely used, it is pretty unlikely an instance is affected by a consuming extension. | ||
The extension scanner will report most use cases. | ||
|
||
|
||
Migration | ||
========= | ||
|
||
No migration available. | ||
|
||
.. index:: Backend, PHP-API, PartiallyScanned |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters