Here's a scenario involving user 1 and user 2:

1. User 1 creates Workspace A because it’s awesome
2. User 2 sets Workspace A as active to check-out this new awesome workspace
3. User 1 doesn't think her new Workspace A is so awesome any more
4. User 1 deletes Workspace A
5. User 2 now has a deleted workspace as her active workspace
6. User 2 is really sad because she now has a WSOD

Proposed solution:
Switch to the "live" workspace if the active workspace no longer exists

Comments

jeqq created an issue. See original summary.

jeqq’s picture

Project: Workspace » Multiversion
StatusFileSize
new5.66 KB

Set the correct project.

jeqq’s picture

Status: Active » Needs review
jeqq’s picture

StatusFileSize
new2.5 KB
new8.16 KB
new2.41 KB

Added a test.

The last submitted patch, 4: 3064158-4-test-only.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

dixon_’s picture

Status: Needs review » Reviewed & tested by the community

Awesome test cases, LOL!

  • jeqq committed e497d80 on 8.x-1.x
    Issue #3064158 by jeqq, dixon_: Gracefully handle deleted workspaces for...
jeqq’s picture

Status: Reviewed & tested by the community » Fixed
jeqq’s picture

Assigned: jeqq » Unassigned

Status: Fixed » Closed (fixed)

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