Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-8668

[PB] Relations to embedded Content Objects in Nested attributes are not saved

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Customer request, 4.6.11
    • 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
      

      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.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              thorsten.reiter@ibexa.co Thorsten Reiter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: