Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-29760

Blocks views configuration keys lost during merge

    Details

    • Type: Story Story
    • Status: Specification Done
    • Priority: High High
    • Resolution: Unresolved
    • Affects Version/s: 2.3.1
    • Fix Version/s: None
    • Component/s: Landing Page Manager
    • Labels:
      None

      Description

      When inspecting the configuration for ezplatform_page_fieldtype with php bin/console debug:config ezplatform_page_fieldtype on the EE demo, some views are listed with numerical keys:

      ezplatform_page_fieldtype:
          blocks:
              embed:
                  configuration_template: '@EzPlatformPageBuilder/page_builder/block/config/embed.html.twig'
                  thumbnail: bundles/ezplatformpagefieldtype/images/thumbnails/embed.svg
                  name: Embed
                  category: default
                  views:
                      default:
                          name: 'Default block layout'
                          template: 'EzPlatformPageFieldTypeBundle:blocks:embed.html.twig'
                          options: {  }
                      0:
                          template: '@ezdesign/blocks/embed.html.twig'
                          name: 'Platform EE Demo embed block'
                          options: {  }
                      1:
                          template: '@ezdesign/blocks/embed_wide.html.twig'
                          name: 'Platform EE Demo wide embed block'
                          options: {  }
      

      The two views with the keys 0 and 1 are set in app/config/default_layouts.yml, with real identifiers:

              embed:
                  views:
                      embed:
                          template: '@ezdesign/blocks/embed.html.twig'
                          name: 'Platform EE Demo embed block'
       
                      embed_wide:
                          template: '@ezdesign/blocks/embed_wide.html.twig'
                          name: 'Platform EE Demo wide embed block'
      

      I expect them to be listed in debug:config with their actual identifiers. I don't know if it does or not have consequences on the application itself, but it may.

        Activity

        Bertrand Dunogier created issue -
        Bertrand Dunogier made changes -
        Field Original Value New Value
        Issue Type Bug [ 1 ] Story [ 7 ]
        Workflow EZEE Development Workflow [ 135550 ] EZEE and EZP Story Workflow [ 135555 ]
        Status Open [ 1 ] Specification Done [ 10003 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Specification Done Specification Done
        2h 24m 1 Bertrand Dunogier 24/Oct/18 6:12 PM

          People

          • Assignee:
            Unassigned
            Reporter:
            Bertrand Dunogier
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: