-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
TASK: 4942 - refactor global transformation commands… #4976
Conversation
im nearly sure (because of our last conversation) that this is not the case, as they are currently always ever run on the live workspace which we dont rebase. So no need for a migration ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice cleanup ❤️ looks good by reading, but maybe sebastian or bastian want to have a look at this as well ... idk if there is a rare case that a command MUST operate on a cs id directly ... but i cant think of a reason so thanks :)
@bwaidelich @kitsunet we concluded that we are okay with this change so merge it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, +1 by (superfluous) reading
@@ -114,7 +114,7 @@ public function moveDimensionSpacePointCommand(string $source, string $target, s | |||
|
|||
$contentRepositoryInstance->handle( | |||
MoveDimensionSpacePoint::create( | |||
$workspaceInstance->currentContentStreamId, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we wouldnt event actually need to resolve the workspace instance here but i guess it leads to better errors if we do so.
… to also work with workspaces
Resolves #4942
Upgrade instructions
I think the command structure migration has to be adjusted and re-run, @mhsdesign could you please take care of that?
Review instructions
the global transformations interface has been stripped of the content stream id, because both were implemented as commands that didn't need them. maybe we should keep it for non-command implementations?
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions