Description
Cannot use image editor with image & image asset.
Steps:
- Use Ibexa DXP 4.6 or 5.0.
- Create image asset CT (ezstring, ezimageasset)
- Create image item.
- Create image asset item, use select from repository and image from previous step.
- Edit image asset.
- Open image editor.
- Flip image.
- Use Save as / apply changes to all.
Actual result: Internal Server Error in UI, exception occurs in log:
[2024-05-15T14:58:02.945220+02:00] php.CRITICAL: Uncaught Error: Class "quality" not found {"exception":"[object] (Error(code: 0): Class \"quality\" not found at /Users/michalszoltysek/Projects/workspace/ez12.lh/vendor/spatie/image-optimizer/src/OptimizerChainFactory.php:21)"} [] [2024-05-15T14:58:05.453251+02:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load class "quality" from the global namespace. Did you forget a "use" statement?" at /Users/michalszoltysek/Projects/workspace/ez12.lh/vendor/spatie/image-optimizer/src/OptimizerChainFactory.php line 21 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\ClassNotFoundError(code: 0): Attempted to load class \"quality\" from the global namespace.\nDid you forget a \"use\" statem ent? at /Users/michalszoltysek/Projects/workspace/ez12.lh/vendor/spatie/image-optimizer/src/OptimizerChainFactory.php:21)"} []
Remarks: Shorter flow can be used with image CT, using image editor and publishing.
Designs
Attachments
Issue Links
- discovered while testing
-
IBX-5388 Adding or removing fields in content type don't scale properly
- Closed