Issue Bug Resolved

#85888Wrong page order in info modul pageTS overview

Joerg Kummer 08/17/18, 13:25 updated 10/19/26, 20:50

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

  1. Joerg Kummer commented <span data-processor="relativetime" data-value="2018-08-18T21:16:50+00:00" > 08/18/18, 21:16 </span>

    Further more the field page.tsconfig_includes is not considered in this overview.
    On it, to write a patch.

  2. Gerrit Code Review pushed patch set 1 for master to change 57959 status New Under Review <span data-processor="relativetime" data-value="2018-08-19T18:26:11+00:00" > 08/19/18, 18:26 </span>

  3. 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

  4. 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:

    Cattura1.png

    All the pages and subpages have some TSConfig lines except “Test without TSConfig 3”

    2) Visit Info > PageTSConfig

    Result

    Cattura2.png

    It looks like the pages with TSConfig are showed first.

    A similar test has been performed on TYPO3 12 with the same result.

  5. Georg Ringer commented and changed status New Accepted <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

  6. Gerrit Code Review pushed patch set 1 for main to change 96833 status Accepted Under Review <span data-processor="relativetime" data-value="2026-10-18T16:45:43+00:00" > 10/18/26, 16:45 </span>

  7. Benni Mack commented and changed status Under Review Resolved done 0 % 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.

  8. Gerrit Code Review pushed patch set 2 for 14.3 to change 96886 status Resolved Under Review <span data-processor="relativetime" data-value="2026-10-19T20:18:07+00:00" > 10/19/26, 20:18 </span>

  9. Benni Mack commented and changed status Under Review Resolved <span data-processor="relativetime" data-value="2026-10-19T20:50:15+00:00" > 10/19/26, 20:50 </span>

    Applied in changeset commit:5af86e037a308eb7f724a67eced97d0f93a9e528.