Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Node-Migrations leave a published workspace behind that can't be changed out of #5191

Closed
1 task done
c4ll-m3-j4ck opened this issue Jul 31, 2024 · 4 comments
Closed
1 task done
Assignees

Comments

@c4ll-m3-j4ck
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When executing a node-migration to change the nodeType of a NodeAggregate, a workspace with a uuid-like name is left behind. After switching the current workspace to this workspace, it is not possible to switch the base workspace back to "live".

The request to https://neos.ddev.site/neos/ui-services/change-base-workspace simply times out and nothing happens.

There are no exceptions thrown and no log-entries appear.

Expected Behavior

After running a node-migration, the changes should be published to the live workspace and the temporary import-workspace should be discarded.

Changing into a workspace should not cause a user to be stuck on this workspace.

Steps To Reproduce

No response

Environment

- Flow: 9.0.0-beta10
- Neos: 9.0.0-beta10
- PHP: 8.3

Anything else?

No response

@dlubitz dlubitz added the 9.0 label Jul 31, 2024
@dlubitz dlubitz self-assigned this Jul 31, 2024
@c4ll-m3-j4ck
Copy link
Contributor Author

I've looked into this a little further:

It seems as if there is a while condition in WorkspaceCommandHandler::requireNonCircularRelationBetweenWorkspaces that doesn't seem to terminate when I try to change back to the live workspace.

I additionally tried testing this by creating another internal workspace and switching to this workspace but this fails in the same manner. I don't know however if this happens because the "import" workspace that I initially changed to is broken in some way.

@c4ll-m3-j4ck
Copy link
Contributor Author

Furthermore, apparently this leaves a user in a broken state, I can't change back to the live workspace, I can't change into any other workspace and also I can't delete my user workspace and recreate it, essentially breaking my user permanently.

@dlubitz
Copy link
Contributor

dlubitz commented Aug 29, 2024

@c4ll-m3-j4ck could you already check, if this issue is gone, with Neos 9.0beta11 or higher?

@c4ll-m3-j4ck
Copy link
Contributor Author

I've checked and the issue seems to be resolved!
Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants