Hi there,

the validation function in apachesolr_multilingual.admin.inc is corrupt. We guess this happened when the apachesolr_multilingual_admin_form_validate function was moved to advanced_solr. It breaks the main admin form and this error message is triggered:

"You need to privide a valid number of ms."

We renamed the validation function in apachesolr_multilingual_advanced_solr.admin.inc, deleted the validation for $form_state['values']['apachesolr_multilingual_autoCommit_maxTime'] (which has moved away from the form and therefore cannot be validated and corrected a spelling mistake ("privide").

Best, IMC linksunten

Comments

mkalkbrenner’s picture

Assigned: Unassigned » mkalkbrenner
Status: Active » Needs review
StatusFileSize
new3.76 KB
new3.75 KB

You're right. But the patch needs to be different because the cause for this trouble are a couple of typing errors. I attached patches for 1.x and 2.x to fix it and introduced a new function to tell the user to update the solr server configuration without deleting the index.

mkalkbrenner’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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