Actions
Bug #105655
open"Collapse all tree items" doesn't persist all pages as closed
Status:
New
Priority:
Should have
Assignee:
-
Category:
Pagetree
Target version:
-
Start date:
2024-11-20
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
How to reproduce¶
- Expand a few nested pages
- Use “Collapse all tree items” in the kebab menu above the page tree => everything is collapsed
- Use “Reload the tree from server” => some pages are expanded again
Why is that?¶
The page tree sends individual Ajax requests to the server to save the collapsed state for each page. These run at the same time, the last request "wins", saves its one page as closed and overwrites everything the other requests have written. Instead there should be one request that resets the BackendComponents.States.Pagetree
object.
Affected versions¶
I'm experiencing it with our TYPO3 v12 installation and I confirmed the behaviour with https://demo.typo3.org/typo3/ which also runs v12. At the moment I don't have a v13 installation at hand to test it there. If you can reproduce it with v13, feel free to update the TYPO3 version of this ticket.
No data to display
Actions