-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
Describe the bug
The workbench throws an error when resetting the perspective after moving a view from the peripheral area into the main area.
To Reproduce
Steps to reproduce the behavior:
- Create a perspective with the following layout:
provideWorkbench({ layout: factory => factory .addPart(MAIN_AREA) .addPart('part.left', {align: 'left', relativeTo: MAIN_AREA}) .addView('view', {partId: 'part.left'}), });
- Drag the view into the main area
- Reset perspective
- See error
root_effect_scheduler.mjs:3597 ERROR Error: [MultiViewError] Multiple views found: [id=view.5056046e] at _ɵWorkbenchLayout.views (ɵworkbench-layout.ts:510:83) at _ɵWorkbenchLayout.view (ɵworkbench-layout.ts:465:25) at matchesIfNavigated (workbench-route-guards.ts:202:25)
Environment
SCION Workbench version: 20.0.0-beta.7