[TASK] Reduce PHP queries of pagetree SQL
The TYPO3 Backend PageTree, built in TYPO3 4.5, has some strange quirks resolving DB records, doing a lot of queries for fetching a single page multiple times. This is unnecessary because this can be fetched with one query, which happens anyway. Additionally, the WSOL should only happen when a workspace is selected. Explicitly querying for "-1" pid etc. should be handled via SQL, and not explicitly implemented by the page tree. Bottom line: Remove one SQL-query per page which is loaded. As most of the PHP classes will be restructured with the upcoming ExtJS / ExtDirect removal, the removed methods will be part of the breaking change of ExtJS removal. Resolves: #82945 Releases: master Change-Id: I7b1d79b40d0e9212cc0884c9440e5725e4f74d8e Reviewed-on: https://review.typo3.org/54574 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Susanne Moog <susanne.moog@typo3.org> Tested-by:
Susanne Moog <susanne.moog@typo3.org> Reviewed-by:
Stefan Neufeind <typo3.neufeind@speedpartner.de> Tested-by:
Stefan Neufeind <typo3.neufeind@speedpartner.de>
Showing
- typo3/sysext/backend/Classes/Tree/Pagetree/Commands.php 2 additions, 15 deletionstypo3/sysext/backend/Classes/Tree/Pagetree/Commands.php
- typo3/sysext/backend/Classes/Tree/Pagetree/DataProvider.php 94 additions, 71 deletionstypo3/sysext/backend/Classes/Tree/Pagetree/DataProvider.php
- typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeCommands.php 1 addition, 1 deletion...t/backend/Classes/Tree/Pagetree/ExtdirectTreeCommands.php
- typo3/sysext/backend/Classes/Utility/BackendUtility.php 23 additions, 18 deletionstypo3/sysext/backend/Classes/Utility/BackendUtility.php
Please register or sign in to comment