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

Default search_view overrides AdminUI search view

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 3.2.0, 3.1.3
    • Search

    Description

      It's not possible to provide a default search_view config without overriding the one used in AdminUI.

      Steps to reproduce:

      1. In config/packages/ezplatform.yaml provide the following configuration:
        parameters:
            ezsettings.default.search_view:
                full:
                    default:
                        template: "@@ezdesign/search/index.html.twig"
                        match: []
        
      1. (clear cache if needed)
      2. Login as admin
      3. Go to Content -> Content Structure -> Search

      Expected:

      Search is working as always - we've only provided the default, fallback configuration.

      Actual:

      Search fails to load with:

       Neither the property
       "search_in_users" nor one of the methods "search_in_users()", 
      "getsearch_in_users()"/"issearch_in_users()"/"hassearch_in_users()" or 
      "__call()" exist and have public access in class 
      "Symfony\Component\Form\FormView".

      as if we've overridden the AdminUI config.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marek.nocon@ibexa.co Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: