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

BUG: site:import fails with Flow 8.3.13 #5448

Open
1 task done
mficzel opened this issue Jan 22, 2025 · 0 comments
Open
1 task done

BUG: site:import fails with Flow 8.3.13 #5448

mficzel opened this issue Jan 22, 2025 · 0 comments
Labels

Comments

@mficzel
Copy link
Member

mficzel commented Jan 22, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When site:import imports Images with CropImageAdjust,ents the following error occurs since the Flow release 8.3.13

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.

Expected Behavior

The site import should work as documented

Steps To Reproduce

  1. Have an empty Neos 8.3.x with Flow 8.1.13 with an empty db and resources folder
  2. Run `./flow doctrine migrate
  3. Run ./flow site:import Neos.Demo

Environment

- Flow: 8.3.13 
- Neos: 8.3.x
- PHP: 8.2

Anything else?

No response

@mficzel mficzel added the Bug label Jan 22, 2025
mficzel added a commit to mficzel/neos-development-collection that referenced this issue Jan 22, 2025
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
mficzel added a commit to mficzel/neos-development-collection that referenced this issue Jan 22, 2025
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant