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
Issue Links
- relates to
-
EZP-13983 search_count and search_result do not match in multilanguage sites
- Closed