-
-
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
BUGFIX: fix error during site import #5449
Conversation
While this lets the import run trough it will probably still be better to also have a proper flow fix in place. |
This adjusts the annotation to work with Flow 8.3.13 ... before the type with spaces was interpreted as `mixed` and caused the following error during site:import. ``` During the import of the "Sites.xml" from the package "Neos.Demo" an exception occurred: Error: During import an exception occurred: "Could not convert target type "Neos\Media\Domain\Model\ImageVariant": Could not convert target type "Neos\Media\Domain\Model\Adjustment\CropImageAdjustment", at property path "aspectRatio": Could not find a suitable type converter for "mixed" because the class / interface "mixed" does not exist."., see log for further information. ``` Resolves: neos#5448
04628c6
to
e35d4de
Compare
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.
Thank you for digging into this.
We should discuss wether reverting the flow change is the better option. Adjusting type hints in a minor is not the best solution I can think of. |
Yes we can discuss this. But from my POV the change just fixes (accidentially) a bug that allowed to have wrong |
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.
Works like a charm!
For PHP both |
This adjusts the annotation to work with Flow 8.3.13 ... before the type with spaces was interpreted as
mixed
and caused the following error during site:import.Resolves: #5448
Review instructions
The new behavior was introduced to flow with pr: neos/flow-development-collection#3424
Checklist
FEATURE|TASK|BUGFIX
Reviewer - Breaking Changes are marked with!!!
and have upgrade-instructions