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.

CommentFileSizeAuthor
#2 3366257.patch2.76 KBamateescu
#2 3366257-test-only.patch648 bytesamateescu

Comments

amateescu created an issue. See original summary.

amateescu’s picture

Status: Active » Needs review
StatusFileSize
new648 bytes
new2.76 KB

This should do it.

The last submitted patch, 2: 3366257-test-only.patch, failed testing. View results

smustgrave’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Needs Review Queue Initiative

Confirmed 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.

The last submitted patch, 2: 3366257-test-only.patch, failed testing. View results

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 2: 3366257.patch, failed testing. View results

amateescu’s picture

Status: Needs work » Reviewed & tested by the community

Random fail, setting back to RTBC.

  • lauriii committed 96939a6b on 11.x
    Issue #3366257 by amateescu: The active workspace is not deactivated...

  • lauriii committed 99901711 on 10.1.x
    Issue #3366257 by amateescu: The active workspace is not deactivated...
lauriii’s picture

Version: 11.x-dev » 10.1.x-dev
Status: Reviewed & tested by the community » Fixed

Committed 96939a6 and pushed to 11.x. Also cherry-picked to 10.1.x as a non-disruptive bug fix. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.