#85888Wrong page order in info modul pageTS overview
Description
Backend info modul for page TS configuration lists pages (which contains TSConf values) as a page tree supplied with further informations.
In some cases, the ordering for pages does not match the real ordering in pagetree.
How to reproduce
- You need some pages with some subpages 2-3 levels in at least one pagetree
- Add any page TS configuration text to at least two subpages (2 level)
- Add any page TS configuration text to at least two subpages (3 level), which parent pages (2 level) may not have page TS configuration
- Sort/move pages from same level (2 level) in page tree, where highest page uid is on top (lowest on bottom)
Expectation
You may expect the same order of pages like in your page tree.
Experience
Pages of same level (which contains TSConf values) are ordered correct, where pages of same level without TSConf values (but their subpages) are mixed in between or at the end of this level.
pagetreeorderinfomodulpagets.png
The same issue was also detected in template modul overview, and fixed within #81430
See InfoPageTyposcriptConfigController::setInPageArray andcompare with TypoScriptTemplateModuleController::setInPageArray, where it is solved.
This issues TYPO3 8.7 and 9.4
Reviews 3
Files 4
History 818
-
Gerrit Code Review pushed patch set 1 for master to change 57959 status
NewUnder Review <span data-processor="relativetime" data-value="2018-08-19T18:26:11+00:00" > 08/19/18, 18:26 </span> -
Gerrit Code Review pushed patch set 2 for master to change 57959 <span data-processor="relativetime" data-value="2018-08-19T18:42:04+00:00" > 08/19/18, 18:42 </span>
-
Gerrit Code Review pushed patch set 3 for master to change 57959 <span data-processor="relativetime" data-value="2018-09-07T11:07:54+00:00" > 09/07/18, 11:07 </span>
-
Gerrit Code Review pushed patch set 4 for master to change 57959 <span data-processor="relativetime" data-value="2018-09-07T11:40:27+00:00" > 09/07/18, 11:40 </span>
-
Joerg Kummer commented and changed attached issue85888_ws_bug.png <span data-processor="relativetime" data-value="2018-09-07T12:29:47+00:00" > 09/07/18, 12:29 </span>
Entries from workspaces doesnt shows correctly
!issue85888_ws_bug.png!
This will be fixed with pending patch -
Gerrit Code Review pushed patch set 5 for master to change 57959 <span data-processor="relativetime" data-value="2018-10-29T11:04:31+00:00" > 10/29/18, 11:04 </span>
-
Gerrit Code Review pushed patch set 6 for master to change 57959 <span data-processor="relativetime" data-value="2018-10-29T11:24:57+00:00" > 10/29/18, 11:24 </span>
-
Gerrit Code Review pushed patch set 7 for master to change 57959 <span data-processor="relativetime" data-value="2018-10-29T11:50:45+00:00" > 10/29/18, 11:50 </span>
-
Markus Klein changed status
Under ReviewNew <span data-processor="relativetime" data-value="2019-03-11T22:31:41+00:00" > 03/11/19, 22:31 </span> -
Riccardo De Contardi commented and changed attached Cattura2.png attached Cattura1.png <span data-processor="relativetime" data-value="2024-04-14T20:05:33+00:00" > 04/14/24, 20:05 </span>
I think this is still reproducible on TYPO3 11.5.35
My test:
1) Create a tree of pages with the following structure:
All the pages and subpages have some TSConfig lines except “Test without TSConfig 3”
2) Visit Info > PageTSConfig
Result
It looks like the pages with TSConfig are showed first.
A similar test has been performed on TYPO3 12 with the same result.
-
Georg Ringer commented and changed status
NewAccepted <span data-processor="relativetime" data-value="2024-07-28T06:43:35+00:00" > 07/28/24, 06:43 </span>still valid in v13,
issue partly solved with
Index: typo3/sysext/backend/Classes/Controller/PageTsConfig/PageTsConfigRecordsOverviewController.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== diff --git a/typo3/sysext/backend/Classes/Controller/PageTsConfig/PageTsConfigRecordsOverviewController.php b/typo3/sysext/backend/Classes/Controller/PageTsConfig/PageTsConfigRecordsOverviewController.php --- a/typo3/sysext/backend/Classes/Controller/PageTsConfig/PageTsConfigRecordsOverviewController.php +++ b/typo3/sysext/backend/Classes/Controller/PageTsConfig/PageTsConfigRecordsOverviewController.php @@ -121,6 +121,7 @@ $queryBuilder->createNamedParameter(0, Connection::PARAM_INT) ) ) + ->orderBy('sorting') ->executeQuery(); $pageArray = [];but as this doesn’t use any page tree logic, it is still wrong
-
Benni Mack changed category <span data-processor="relativetime" data-value="2024-12-11T14:47:34+00:00" > 12/11/24, 14:47 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 96833 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2026-10-18T16:45:43+00:00" > 10/18/26, 16:45 </span> -
Gerrit Code Review pushed patch set 1 for 14.3 to change 96886 <span data-processor="relativetime" data-value="2026-10-19T20:05:43+00:00" > 10/19/26, 20:05 </span>
-
Benni Mack commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-10-19T20:10:14+00:00" > 10/19/26, 20:10 </span>Applied in changeset commit:1b17bc4009025a4274dc6cf90d3a3e13107bcd43.
-
Gerrit Code Review pushed patch set 2 for 14.3 to change 96886 status
ResolvedUnder Review <span data-processor="relativetime" data-value="2026-10-19T20:18:07+00:00" > 10/19/26, 20:18 </span> -
Benni Mack commented and changed status
Under ReviewResolved <span data-processor="relativetime" data-value="2026-10-19T20:50:15+00:00" > 10/19/26, 20:50 </span>Applied in changeset commit:5af86e037a308eb7f724a67eced97d0f93a9e528.
Further more the field page.tsconfig_includes is not considered in this overview.
On it, to write a patch.