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

Default layout is always chosen when creating content even if it's disabled

    XMLWordPrintable

Details

    • Ibexa Experience

    Description

      Steps to reproduce:

      1. Clean installation of Ibexa DXP.
      2. Add custom layout:
        ezplatform_page_fieldtype:
            layouts:
                sidebar:
                    identifier: sidebar
                    name: Right sidebar
                    description: Main section with sidebar on the right
                    thumbnail: /assets/images/layouts/sidebar.png
                    template: layouts/sidebar.html.twig
                    zones:
                        first:
                            name: First zone
                        second:
                            name: Second zone
        
      3. Create new Content Type with the ezlandingpage fieldtype and disable the "Default layout" in the field type form (only custom layout should be enabled).
      4. Try to create new content of the Content Type from the step above.

      Result:
      Default layout is chosen even if disabled.

      The layout of this landing page is no longer available and you cannot publish it. Please select a different layout.

      Expected result:
      First available layout should be selected.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bartlomiej.wajda@ibexa.co Bartłomiej Wajda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: