Easy to fix.

Comments

chx’s picture

StatusFileSize
new1.21 KB

The last one wanted to be $this->value.

chx’s picture

StatusFileSize
new1.33 KB

And, only IN / NOT IN uses that value. empty / not empty doesnt.

dawehner’s picture

Assigned: chx » Unassigned
Category: bug » feature
Status: Needs review » Fixed
+++ b/handlers/views_handler_filter_in_operator.incundefined
@@ -368,4 +368,29 @@ class views_handler_filter_in_operator extends views_handler_filter {
+      ctools_include('export');
+      $errors[] = t('The value @value is not an array for @operator', array('@value' => ctools_var_export($this->value), '@operator' => $this->operator));

Views3 on drupal6 doesn't rely on ctools, but as always ctools just uses a function which is already in views: views_var_export

Commited this change to 6.x-3.x and 7.x-3.x

giorgosk’s picture

I have the feeling that this fix has introduced some bugs in the dev version
please take a look #1207680: No valid values found (6.x-3.x-dev & 7.x-3.x-dev)

cyberwolf’s picture

It also causes issues in other modules, to name one: Countries (see #1061156: Countries - Views integration).

Status: Fixed » Closed (fixed)

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