If you navigate to the multilingual config page at

admin/config/search/apachesolr/confgen/multilingual

under Stemmer -> STEMMER LANGUAGE, the default value always says (No stemming) regardless of what the actual value is. This error occurs when you first navigate to the page, and the first language under "...select the desired Language" is highlighted, but none of the language links have been select. Once any of the languages have been specifically clicked, this problem goes aways.

This error appears to be a result of using variable_realm_params('language') to get the default values of the language. When it is on the default language, there is no parameter "variable_realm_key_language=...", so the language is not determined and hence the default value cannot be obtained.

Comments

jongagne’s picture

There are probably many ways to solve this issue. Here is one solution and the associated patch

jongagne’s picture

Status: Active » Needs review
mkalkbrenner’s picture

Status: Needs review » Fixed

You're right. But your patch does not solve the issue correctly. The default is the current language.
I committed that one:
http://drupalcode.org/project/apachesolr_multilingual.git/commit/36954be

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 36954be on 7.x-1.x, 6.x-3.x by mkalkbrenner:
    [#1971244] jongagne, mkalkbrenner: The default language displayed for...