-
-
Notifications
You must be signed in to change notification settings - Fork 223
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: Wrong workspace state after publishing #4783
Comments
Related problem #4508 |
It would be really helpful to create Behat tests that reproduce the bug (in this case probably: it must not be possible to publish an outdated workspace) |
I just retested with the latest version of master (beta11) and the issue still exists |
I think as said by Bernard is that this is correct behaviour and possibly just slightly misleading on user land. Yes clicking Also we actually do an neos-development-collection/Neos.Neos/Classes/Domain/Workspace/Workspace.php Lines 301 to 309 in 2a18885
|
With the publishing v3 this is now definitely desired behaviour as discussed at the dresden sprint 24: #5301 Publish will do a rebase and if that works all desired changes are live and your workspace is up to date. |
Is there an existing issue for this?
Current Behavior
When a user has an outdated workspace and publishes their workspace to a shared workspace, the user's workspace status is automatically switched to 'up-to-date', even if it was 'outdated' before the switch.
With the way it currently is, the new 'rebase workspace button' and the normal 'publish to workspace' button have the same outcome, at least from the user's viewpoint.
Expected Behavior
I would expect the editor to not be able to update their workspace to 'up to date' just by publishing their changes. As far as I understood, a workspace should only be up to date after rebasing?
I am unsure if there is a nice solution here since requiring rebasing the workspace for every change an editor does in the shared workspace seems very annoying from the user's point of view.
Steps To Reproduce
Environment
Anything else?
In the projection the workspace status is just switched around, regardless of the current status:
neos-development-collection/Neos.ContentRepository.Core/Classes/Projection/Workspace/WorkspaceProjection.php
Line 222 in 207a86d
see also discussion here: https://neos-project.slack.com/archives/C3MCBK6S2/p1700236382252689
I tested locally with #4692 and the problem still persists.
The text was updated successfully, but these errors were encountered: