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: Closed
    • Priority: High High
    • Resolution: Obsolete
    • 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

        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
        Specification Done Specification Done Specification Review Specification Review
        184d 4h 8m 1 Sylvain Guittard 26/Apr/19 10:20 PM
        Specification Review Specification Review Specification Specification
        7s 1 Sylvain Guittard 26/Apr/19 10:20 PM
        Specification Specification Closed Closed
        10s 1 Sylvain Guittard 26/Apr/19 10:20 PM

          People

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

            Dates

            • Created:
              Updated:
              Resolved: