#106308Workspace module: pagebrowser is not working
Description
In Workspace-backend-module the pagebrowser does not work.
How to reproduce:- Have a page with more that 30 records in workspace
- Use the pagebrowser in backend-module
- Clicked page is shown with blue background color in pagebrowser, so everything worked fine on first glance
- ! The record-list still shows records from first page. It is not possible to show records from page > 1.
A short dig into code:
Method “calculateStartWithCollections” is used to calculate the starting point. In this method $this->dataArray is used as an array with numeric keys. But it does not have numeric keys, there are keys like “TABLENAME:UID”, so calculation of starting point ends up with 0 and the very first records are shown in every case.
Solution: Perhaps it’s enough to move the switching to numerous-keys BEFORE the call of calculateStartWithCollections
https://github.com/TYPO3/typo3/blob/main/typo3/sysext/workspaces/Classes/Service/GridDataService.php#L300
Reproduced in LTS12 and ELTS10, but code is same in later versions. So probably the bug exists in later versions too.
Reviews 3
Related issues 1
Files 1
History 510
-
Riccardo De Contardi changed Related to #98129 <span data-processor="relativetime" data-value="2025-03-05T09:47:44+00:00" > 03/05/25, 09:47 </span>
-
Tina Westner changed description <span data-processor="relativetime" data-value="2025-03-05T09:53:03+00:00" > 03/05/25, 09:53 </span>
-
Andreas Kienast changed status
NewAccepted <span data-processor="relativetime" data-value="2025-03-07T12:59:01+00:00" > 03/07/25, 12:59 </span> -
Gerrit Code Review pushed patch set 1 for main to change 88530 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2025-03-07T13:45:29+00:00" > 03/07/25, 13:45 </span> -
Gerrit Code Review pushed patch set 2 for main to change 88530 <span data-processor="relativetime" data-value="2025-03-07T13:48:19+00:00" > 03/07/25, 13:48 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 88546 <span data-processor="relativetime" data-value="2025-03-10T10:05:29+00:00" > 03/10/25, 10:05 </span>
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 88547 <span data-processor="relativetime" data-value="2025-03-10T10:08:36+00:00" > 03/10/25, 10:08 </span>
-
Gerrit Code Review pushed patch set 2 for 12.4 to change 88547 <span data-processor="relativetime" data-value="2025-03-10T10:10:43+00:00" > 03/10/25, 10:10 </span>
-
Anonymous commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-03-10T10:40:09+00:00" > 03/10/25, 10:40 </span> -
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:22:31+00:00" > 12/02/25, 14:22 </span>
Applied in changeset commit:f77759a6cfb2717ece2f8be08c23f15ab69246f8.