Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.3.35, 4.5.3
-
None
-
None
-
Ibexa Commerce, Ibexa Content, Ibexa Experience
-
Yes
Description
Steps to reproduce (on 3.3.x):
1. add config for ezplatform-connector-unsplash:
config/packages/dam.yaml
dam_unsplash: application_id: 'app_id' secret: 'app_secret' utm_source: 'source_name' ezplatform: system: default: content: dam: [ unsplash ]
2. run composer require ezsystems/ezplatform-connector-unsplash
3. Add Content Type dam_image (see dam_image_content_type.yaml )
4. Add new Image from DAM
5. Edit the new image (form looks fine - edit button for the image is disabled):
6. Edit the image again (edit button is enabled):
A click on the 'edit' button throws an error (request to [https://[host]/admin/image-editor/base64/..../image)|https://[host]/admin/image-editor/base64/..../image]
TypeError: Argument 1 passed to Ibexa\Platform\Bundle\ImageEditor\Controller\Base64Controller::getBase64() must be of the type int, string given, called in /var/www/html/vendor/symfony/http-kernel/HttpKernel.php on line 163 at vendor/ibexa/image-editor/src/bundle/Controller/Base64Controller.php:34 at Ibexa\Platform\Bundle\ImageEditor\Controller\Base64Controller->getBase64('mnxcOX2myzQ', 'image', null, null) (vendor/symfony/http-kernel/HttpKernel.php:163) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/http-kernel/HttpKernel.php:75) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35) at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() (vendor/autoload_runtime.php:35) at require_once('/var/www/html/vendor/autoload_runtime.php') (public/index.php:5)
Expected:
The edit button for Dam images should be disabled and whithout functionality.
Designs
Attachments
Issue Links
- testing discovered
-
IBX-6740 DAM image without location id shows edit button
- Closed