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

Cannot add UDW configuration from YAML file located in other bundle

    XMLWordPrintable

Details

    Description

      Cannot add UDW configuration from YAML file located in other bundle. When adding an additional config from external bundle, similarly to this:

      system:
          default:
              universal_discovery_widget_module:
                  configuration:
                      form_block:
                          multiple: false
                          content_on_the_fly:
                              allowed_content_types: ['form']
      

      The configuration is not merged correctly and the final result looks like this (this is the result of running the bin/console debug:config ezpublish command in a terminal):

      ezpublish:
          system:
              default:
                  universal_discovery_widget_module:
                      configuration:
                          form_block:
                              multiple: false
                              content_on_the_fly:
                                  allowed_content_types:
                                      - form
                          0:
                              multiple: true
                              active_tab: browse
                              starting_location_id: 1
                              visible_tabs: {  }
                              selected_items_limit: 0
                              containers_only: false
                              content_on_the_fly:
                                  allowed_languages: {  }
                                  allowed_content_types: {  }
                                  allowed_locations: {  }
                                  preselected_language: null
                                  preselected_content_type: null
                                  preselected_location: null
                              search:
                                  results_per_page: 10
                          1:
                              active_tab: create
                              visible_tabs:
                                  - create
                              multiple: false
                              starting_location_id: 1
                          2:
                              multiple: false
                          3:
                              multiple: true
                          4:
                              multiple: false
                              containers_only: true
                          5:
                              multiple: false
                          6:
                              multiple: false
                              content_on_the_fly:
                                  allowed_content_types:
                                      - image
                          7:
                              multiple: false
                              visible_tabs:
                                  - browse
                                  - search
                                  - bookmarks
                      default_location_id: 1
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            piotr.nalepa-obsolete@ez.no Piotr Nalepa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: