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

TASK: Workspace aware commands events migration #4890

Merged

Conversation

mhsdesign
Copy link
Member

@mhsdesign mhsdesign commented Feb 13, 2024

See #4708

@mhsdesign mhsdesign marked this pull request as draft February 13, 2024 13:18
@github-actions github-actions bot added the 9.0 label Feb 13, 2024
@mhsdesign mhsdesign force-pushed the task/workspaceAwareCommands-events-migration branch from 0f02c3c to 610b512 Compare March 13, 2024 15:56
@mhsdesign mhsdesign changed the title WIP: TASK: Workspace aware commands events migration TASK: Workspace aware commands events migration Mar 14, 2024
@mhsdesign mhsdesign changed the base branch from 9.0 to workspaceAwareCommands March 14, 2024 14:31
@mhsdesign mhsdesign marked this pull request as ready for review March 14, 2024 14:33
@mhsdesign mhsdesign force-pushed the task/workspaceAwareCommands-events-migration branch 2 times, most recently from 7cae7fd to 0266e11 Compare March 14, 2024 14:41
@nezaniel nezaniel deleted the branch neos:9.0 March 14, 2024 17:18
@nezaniel nezaniel closed this Mar 14, 2024
@mhsdesign mhsdesign reopened this Mar 14, 2024
@mhsdesign mhsdesign changed the base branch from workspaceAwareCommands to 9.0 March 14, 2024 17:23
@ahaeslich ahaeslich requested a review from nezaniel March 14, 2024 17:32
@mhsdesign mhsdesign force-pushed the task/workspaceAwareCommands-events-migration branch from b62d1d4 to e56ad74 Compare March 14, 2024 17:47
…tmetadata`

As the previous approach lead to a lot of dummy workspace names we will just reduce the complexity and ONLY write dummy workspace names as they are redundant either way
@mhsdesign mhsdesign force-pushed the task/workspaceAwareCommands-events-migration branch from e56ad74 to 25e0d3b Compare March 14, 2024 18:22
Copy link
Member

@nezaniel nezaniel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done

Copy link
Member

@ahaeslich ahaeslich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it locally and run into this error while replaying the contentStream projection:

Undefined array key "workspaceName" in /application/Packages/Neos/Neos.ContentRepository.Core/Classes/Feature/WorkspacePublication/Dto/NodeIdToPublishOrDiscard.php line 46

@ahaeslich ahaeslich requested review from kitsunet and ahaeslich March 14, 2024 19:33
@ahaeslich ahaeslich self-requested a review March 14, 2024 19:34
@mhsdesign mhsdesign marked this pull request as draft March 14, 2024 20:10
@mhsdesign
Copy link
Member Author

@ahaeslich looks perfect thanks, we will merge this tomorrow once we have @bwaidelich conceptional approval.

Copy link
Member

@bwaidelich bwaidelich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great already, just some (partly quite nitpicky) suggestions

@ahaeslich
Copy link
Member

For documenation: replaying all projects now worked on the projects database.

@ahaeslich ahaeslich force-pushed the task/workspaceAwareCommands-events-migration branch from 33524f4 to 416017a Compare March 15, 2024 08:32
- Update Neos.ContentRepository.Core/Classes/Feature/Common/ContentStreamIdOverride.php
- Update Neos.ContentRepositoryRegistry/Classes/Service/EventMigrationService.php

Co-authored-by: Bastian Waidelich <b.waidelich@wwwision.de>
@ahaeslich ahaeslich force-pushed the task/workspaceAwareCommands-events-migration branch from 416017a to 8cd2f1d Compare March 15, 2024 10:58
@ahaeslich ahaeslich marked this pull request as ready for review March 15, 2024 11:01
@ahaeslich ahaeslich merged commit 2a14f73 into neos:9.0 Mar 15, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants