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

Using ezfind to search image subattribute 'caption' don't retrieve any result in admin interface

    XMLWordPrintable

Details

    Description

      hi,
      Having an ezdemo installation, with ez-find enabled, if i create an image with caption "test", i have no result if i search for "test" in ezdemo_site_admin access. But if i search using ezdemo_site access, i have a correct result.

      To reproduce:
      1 - Login as admin in your ezdemo_site_admin access
      2 - In "Media/Images", create an image that has "Test" in the caption
      3 - In the searchfield, search for "test"
      (After pressing enter, i have no results)

      4 - Now go to your ezdemo_site access and make the same search for "Test"
      (After pressing enter, i see that now results are shown. In this case, the results is the created image, which is correct)

      I have no error in apache log
      I have no error or warning on ezpublish debug

      My ezpublish.yml

      imports:
          - { resource: parameters.yml }
          - { resource: security.yml }
      
      framework:
          esi:             ~
          translator:      { fallback: %locale_fallback% }
          # The secret parameter is used to generate CSRF tokens
          secret:          %secret%
          router:
              resource: "%kernel.root_dir%/config/routing.yml"
              strict_requirements: %kernel.debug%
          form:            ~
          csrf_protection:
              enabled: true
              # Note: changing this will break legacy extensions that rely on the default name to alter AJAX requests
              # See https://jira.ez.no/browse/EZP-20783
              field_name: ezxform_token
          validation:      { enable_annotations: true }
          templating:      { engines: ['twig', 'eztpl'] } #assets_version: SomeVersionScheme
          trusted_proxies: ~
          trusted_hosts: []
          session:         ~
              # The session name defined here will be overridden by the one defined in your ezpublish.yml, for your siteaccess.
              # Defaut session name is "eZSESSID{siteaccess_hash}" (unique session name per siteaccess).
              # See ezpublish.yml.example for an example on how to configure this.
          fragments:       ~
          http_method_override: true
      
      # Twig Configuration
      twig:
          debug:            %kernel.debug%
          strict_variables: %kernel.debug%
      
      # Assetic Configuration
      assetic:
          debug:          %kernel.debug%
          use_controller: false
          bundles:        [ eZDemoBundle ]
          #java: /usr/bin/java
          filters:
              cssrewrite: ~
              #closure:
              #    jar: %kernel.root_dir%/Resources/java/compiler.jar
              #yui_css:
              #    jar: %kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar
      
      ez_publish_legacy:
          enabled: true
          root_dir: %kernel.root_dir%/../ezpublish_legacy
      
      parameters:
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulo.nunes-obsolete@ez.no Paulo Nunes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: