Bug #96618
closedPage tree area not loading on BE login
100%
Description
I've a v11.5.5 instance, hosted in a country far far away from my location, possibly with a not brilliant internet connection.
Whenever I log-in to the BE, the page tree is not loaded and I get a JavaScript error (see attached screenshot):
If I reload the BE everything is fine and all areas incl. the page tree come up. I can log-out and log-in again without problems. However, the same issue re-occurs a little later (sometimes during the same session, sometimes the next day or so). I also experience this issue in the Filelist.
I suspect that this is some kind of a timing issue. Although this is not a major problem, this is causing some frustration and confusion.
Files
Updated by Michael Schams over 2 years ago
PS: several members of the TYPO3 community confirmed the issue. See comments on Slack.
Updated by Oliver Hader over 2 years ago
Seems like https://github.com/TYPO3/typo3/blob/571a5e8a98f94c9cab31905274ae257001dc31a7/Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Viewport/NavigationContainer.ts#L28-L30 can be enhanced, since there is no guarantee (in terms of an upstream dependency) that would ensure those queried elements are actually given in the current DOM.
→ using a getter on on all three props (parent
, container
, switcher
) always fetching element from DOM
Updated by Gerrit Code Review over 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73133
Updated by Gerrit Code Review over 2 years ago
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73134
Updated by Oliver Hader over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3ed117bb665913672b679f8d93a6cb306ea4176f.
Updated by Benjamin Franzke about 2 years ago
- Has duplicate Bug #96433: jQuery exception on clicking backend modules with page tree in Typo3 11.5.4 LTS added