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

9.0 Odd RebasableToOtherWorkspaceInterface commands AddDimensionShineThrough and MoveDimensionSpacePoint #4942

Closed
mhsdesign opened this issue Mar 14, 2024 · 2 comments · Fixed by #4976
Assignees

Comments

@mhsdesign
Copy link
Member

The commands AddDimensionShineThrough and MoveDimensionSpacePoint will implement the RebasableToOtherWorkspaceInterface via #4708

but they are not interested about the wordspaceName unlike the other commands but still operate on the contentstream ids.

This is the reason for the quirky $targetContentStreamId in createCopyForWorkspace.

Both commands will be used for structure adjustments and MoveDimensionSpacePoint will be available via flow content:moveDimensionSpacePoint

Despite being a little quirky they are both declared public api, so it would be hard to fix their api after Neos 9

Proposal:

  • make them internal and fix them later and (and createCopyForWorkspace)
  • fix it now to operate only on workspaces
@mhsdesign
Copy link
Member Author

Todo: ask sebastian if these commands should also operate on the workspace name and enforce that the workspace is a root workspace (e.g. live)

additionally if this would be true we can also remove the RebasableToOtherWorkspaceInterface rebase functionality for those as they are never to be rebased.

@mhsdesign
Copy link
Member Author

I dont know how blocking this is for the node identity, i looked at the code paths if we use anywhere node read models (which would lead us to require to pass the workspaceName, but so far i only found out that

AddDimensionShineThrough uses

  • $subgraph->countNodes

MoveDimensionSpacePoint uses

  • $subgraph->countNodes

both seem to be able to function without having the workspaceName as argument so maybe not that of a blocker as i though? or im late and i dont see it ... but i though there was a usage ...

@nezaniel nezaniel moved this from In Progress 🚧 to Under Review 👀 in Neos 9.0 Release Board Apr 4, 2024
@github-project-automation github-project-automation bot moved this from Under Review 👀 to Done ✅ in Neos 9.0 Release Board Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants