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

Search does not care about available translations

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Medium Medium
    • 3.10.0
    • 3.10.0alpha1, 3.9.2
    • Search
    • None

    Description

      Part 1:
      When searching for a word which is not included in one of the available translations the search returns positive if the object contains a available translation.

      (goto "Steps to Reproduce" part 1)

      Part 2:
      Also, by using the viewparameter (language)/nor-NO the translation is now accessible from the siteaccess.

      (goto "Steps to Reproduce" part 2)

      Steps to reproduce

      Part 1:
      Object 123 has one translation, eng-GB, which contains the word "hello".

      Searching for "hello" on a siteaccess with "nor-NO" as the only entry in the configuration array SiteLanguageList and ShowUntranslatedObjects set to disabled will not give any results(as expected). Still the search result count will be 1.

      The object does no have the "Default object availability" flag on either class or object level.

      Then, if a Norwegian translation is added the object is returned in the search result even though the Norwegian translation does not contain the word "hello".

      Part 2:
      Clicking on the object will display the Norwegian translation which of course is empty. Adding the view parameter "(language)/eng-GB" will give you the English translation which should not be available.

      Tested in trunk rev. 19600 and 3.9.1. 3.8 is probably affected too.

      Attachments

        Activity

          People

            a29ca475-2ac3-469b-95ea-e37ca79eae29@accounts.ibexa.co Sergiy Pushchin
            rla rla
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: