You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After adding the configuration for the new dimensions, I ran ./flow content:refreshRootNodeDimensions. This worked fine and I can see the changes in the database as the dimensionspacepoints are created in db.cr_default_p_graph_dimensionspacepoints.
However, when I then run the next command ./flow content:moveDimensionSpacePoint '{}' '{"language": "en"}', the command fails with the error the content stream 0359b978-1f56-45b1-853e-078fa25c0a72 already contained nodes in dimension space point {"language":"en"} - this is not allowed.
Right not it seems like it is not possible to add dimensions to an already existing CR.
Expected Behavior
The nodes should be moved to the correct dimension.
Steps To Reproduce
No response
Environment
- Flow: 9.0.x-dev
- Neos: 9.0.x-dev
- PHP: 8.3
Anything else?
No response
The text was updated successfully, but these errors were encountered:
It seems like that on running the first command, hierarchy-relations with the new dimensionspacepointhash are created.
In Neos\ContentRepository\Core\Feature\DimensionSpaceAdjustment\DimensionSpaceCommandHandler::requireDimensionSpacePointToBeEmptyInContentStream a check is run against the subgraph, which returns an existing node (Neos.Neos:Sites) in this case.
Is there an existing issue for this?
Current Behavior
When following the documentation at https://docs.neos.io/guide/content-repository/content-dimensions/migrating-dimension-config in order to add dimension-config to a neos-instance that didn't previously have a dimension config, the provided commands lead to an error and make it impossible to migrate the cr to the new dimensions.
After adding the configuration for the new dimensions, I ran
./flow content:refreshRootNodeDimensions
. This worked fine and I can see the changes in the database as the dimensionspacepoints are created indb.cr_default_p_graph_dimensionspacepoints
.However, when I then run the next command
./flow content:moveDimensionSpacePoint '{}' '{"language": "en"}'
, the command fails with the errorthe content stream 0359b978-1f56-45b1-853e-078fa25c0a72 already contained nodes in dimension space point {"language":"en"} - this is not allowed.
Right not it seems like it is not possible to add dimensions to an already existing CR.
Expected Behavior
The nodes should be moved to the correct dimension.
Steps To Reproduce
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: