Bug #11972
closed
Switching workspace with tabs is different to switch ws in toolbar menu
Added by Steffen Kamper almost 14 years ago.
Updated about 6 years ago.
Description
When i switch ws in toolbar, the selection of modulemenu and pagetree remain. When i switch with tab click, selection of module menu and page tree are cleared.
Files
- Status changed from New to Accepted
- Assignee set to Steffen Kamper
- Target version set to 4.5 RC1
Attached two patches (1 core, 1 workspaces) with which this one is solved. What do you think? (BTW I can only reproduce the module menu issue)
great
+1 by reading and testing
- Assignee changed from Steffen Kamper to Susanne Moog
RFC is pending in core list.
- Status changed from Accepted to Under Review
I tested the patches and basically they worked. I found one small bug that when I switch from one custome stage to another it does update the module menu but it becomes cleared. Do you have the same?
Switching from live to custom workspace and the other way round works fine and module menu and page tree are updated fine with the selection remained.
I can reproduce Sonjas behaviour and thought a bit about it. Then I realized that I'm trying to fix this on the wrong end. We should not try to update the module menu, because the module menu should not change when I switch a workspace in the workspaces menu. So why does it change? That brought me to the patch v2. For some reason (probably a leftover) the module menu store was loaded on a workspace switch, causing it to reload too early and forgetting where it was.
So please test the attached patch :)
- Status changed from Under Review to Resolved
- Category set to Workspaces
- Project changed from 624 to TYPO3 Core
- Category changed from Workspaces to Workspaces
- Target version deleted (
4.5 RC1)
- Status changed from Resolved to Closed
Also available in: Atom
PDF