Details
-
Bug
-
Resolution: Done
-
Medium
-
4.1.5, 3.3.25
Description
Steps to reproduce
- Install Ibexa DXP v3 or v4
- Create a custom page block with a location list and content_type validator
ibexa_fieldtype_page: blocks: my_block: name: MyBlock category: default thumbnail: /bundles/ibexaicons/img/all-icons.svg#edit views: default: name: Default block layout template: my_block.html.twig priority: -255 attributes: embed_content: type: embed name: Content validators: content_type: message: You must select a folder options: types: folder
- Add a new custom page block and select any content
- Save
Result
Unable to write block and shows below error
Argument 1 passed to Ibexa\Core\Repository\SiteAccessAware\ContentService::loadContent() must be of the type int, string given, called in /var/www/html/vendor/ibexa/fieldtype-page/src/lib/Validator/Constraints/ContentTypeValidator.php on line 47
Expected
Validation should proceed correctly without error