#101439Category tree does not load, when internet connection is slow
Description
This issue occures in 11.5.30 as well as in 12.4.4.
When the internet connection is too slow, the category tree does not load. Instead the JS console shows this error:
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'dataset')
at SelectTreeElement.generateRequestUrl (select-tree-element.js?bust=570e49c9f4853b50cd9289267f625c76f9c5f218:13:2301)
at new SelectTreeElement (select-tree-element.js?bust=570e49c9f4853b50cd9289267f625c76f9c5f218:13:1423)
at java-script-item-processor.js?bust=570e49c9f4853b50cd9289267f625c76f9c5f218:13:1629
at java-script-item-processor.js?bust=570e49c9f4853b50cd9289267f625c76f9c5f218:13:1720
at Array.map (<anonymous>)
at java-script-item-processor.js?bust=570e49c9f4853b50cd9289267f625c76f9c5f218:13:1710
How to reconstruct:
1. Install EXT:news
2. Create some categories (I’ve created two root categories and one sub category. In total 3 categories) on root level
3. Create a news record and save it
4. Throttle your internet connection, using Developer Tools in e.g. Chrome:
clipboard-202307251116-srflf.png
In case, the default profiles (Fast/Slow 3G) are not slow enough, create a new profile. With the following settings I was able to reconstruct this issue almost every time, on an empty, fresh TYPO3 installation within DDEV:
clipboard-202307251118-j3ylv.png
Then refresh the frame:
category-tree-loading-issue.gif
Reviews 3
Files 3
History 613
-
Armin Vieweg commented 07/25/23, 09:23
-
Riccardo De Contardi changed category 08/09/23, 14:50
-
Christoph Lehmann commented 08/29/24, 07:46
I see the error in v12.4.19. Its randomly, sometimes the category tree appear.
-
Gerrit Code Review pushed patch set 1 for main to change 88200 status
NewUnder Review 02/12/25, 17:17 -
Patrick Schriner commented 02/12/25, 17:21
We have had this issue in the context of the GSB11
-
Gerrit Code Review pushed patch set 2 for main to change 88200 02/12/25, 17:21
-
Gerrit Code Review pushed patch set 3 for main to change 88200 03/07/25, 12:56
-
Gerrit Code Review pushed patch set 4 for main to change 88200 03/07/25, 13:17
-
Gerrit Code Review pushed patch set 5 for main to change 88200 03/07/25, 13:18
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 88668 03/21/25, 07:57
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 88669 03/21/25, 07:57
-
Patrick Schriner commented and changed status
Under ReviewResolved done0 %100 % 03/21/25, 08:35Applied in changeset commit:872a43703cd0996cd5540802c903bcd83ed64f1f.
-
Benni Mack changed status
ResolvedClosed 12/02/25, 14:34
Note: The error in console only occures, when in a record.
In page settings, the categories are also not loading, but there is no error appearing. This only occures for records (not only news).