Skip to content

Commit

Permalink
Merge pull request #5251 from dlubitz/90/task/transformation-errors
Browse files Browse the repository at this point in the history
TASK: Improve error messages in case old transformations have been used
  • Loading branch information
skurfuerst committed Sep 18, 2024
2 parents d51e78b + 951a6d4 commit 2a86e04
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ protected function resolveTransformationFactory(string $transformationName): Tra
if ($transformationName === 'AddDimensions') {
throw new MigrationException(
'The "AddDimensions" transformation from the legacy content repository has been replaced'
. ' by the "AddDimensionSpecialization" transformation in the event-sourced content repository.'
. ' by the "MoveDimensionSpacePoint" transformation in the event-sourced content repository.'
. ' Please adjust your node migrations.',
1637178179
);
Expand All @@ -88,7 +88,7 @@ protected function resolveTransformationFactory(string $transformationName): Tra
if ($transformationName === 'RenameDimension') {
throw new MigrationException(
'The "RenameDimension" transformation from the legacy content repository has been replaced'
. ' by the "MoveToDimensionSpacePoints" transformation in the event-sourced content repository.'
. ' by the "MoveDimensionSpacePoint" transformation in the event-sourced content repository.'
. ' Please adjust your node migrations.',
1637178184
);
Expand All @@ -106,7 +106,7 @@ protected function resolveTransformationFactory(string $transformationName): Tra
if ($transformationName === 'SetDimensions') {
throw new MigrationException(
'The "SetDimensions" transformation from the legacy content repository has been replaced'
. ' by the "AddDimensionSpecialization" and "MoveToDimensionSpacePoints" transformation'
. ' by the "MoveDimensionSpacePoint" transformation'
. ' in the event-sourced content repository. Please adjust your node migrations.',
1637178280
);
Expand Down

0 comments on commit 2a86e04

Please sign in to comment.