Problem/Motivation
When a user deletes the currently active workspace, the workspace manager is not updated to reflect the change.
Steps to reproduce
- create a workspace and activate it
- delete the workspace
- create a new workspace with the same ID, notice that it's been activated automatically
Proposed resolution
Switch to Live when the currently active workspace is deleted.
Remaining tasks
Review.
User interface changes
Nope.
API changes
Nope.
Data model changes
Nope.
Release notes snippet
Nope.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3366257.patch | 2.76 KB | amateescu |
| #2 | 3366257-test-only.patch | 648 bytes | amateescu |
Comments
Comment #2
amateescu commentedThis should do it.
Comment #4
smustgrave commentedConfirmed the issue described in the issue summary.
Deleting a current workspace and then recreating it did auto activate that space.
The patch in #2 solves the problem.
Comment #7
amateescu commentedRandom fail, setting back to RTBC.
Comment #10
lauriiiCommitted 96939a6 and pushed to 11.x. Also cherry-picked to 10.1.x as a non-disruptive bug fix. Thanks!