Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.6.8
-
None
-
None
-
Ibexa Commerce, Ibexa Content, Ibexa Experience, Ibexa Open Source
-
Yes
Description
Steps to reproduce on a fresh Ibexa Experience 4.6.8 project:
-Create custom Page Builder Block having an embed attribute inside a nested_attribute :
config/packages/app.yaml
ibexa_fieldtype_page: blocks: nested_test: category: default thumbnail: 'path/icons.svg' views: default: { name: 'Default block layout', template: '@ibexadesign/blocks/nested_test.html.twig', priority: -255 } attributes: my_group: name: My Group type: nested_attribute options: attributes: folder: name: Folder type: embed validators: content_type: message: You must select a Folder options: types: [folder]
templates/themes/standard/blocks/nested_test.html.twig
Nested Test
- Clear caches (including persistence cache ) (https://doc.ibexa.co/en/latest/content_management/pages/create_custom_page_block/)
- Add a nested_test Page Block to the Ibexa Digital Experience Platform Landing page and embed Ibexa Platform Folder into the new block
- Publish Content
- check Relations Tab: https://.../admin/view/content/1/full/true/42#ibexa-tab-location-view-relations#tab
Result:
Relations tab does not show a relation to https://..../admin/view/content/1/full/true/42
Also https://.../admin/view/content/1/full/true/42#ibexa-tab-location-view-relations#tab does not show a reverse relation.
Note to QA:
embed, locationlist and richtext attributes should be tested as a part of nested_attribute as we have those three relation extractors and additionally on their own.