Using latest 2011 Feb 24 dev of views
Two of my views throw up this error:
* Notice: Undefined index: in views_handler_filter_in_operator->admin_summary() (line 328 of /home/.../public_html/drupal/sites/all/modules/views/handlers/views_handler_filter_in_operator.inc).
* Notice: Undefined index: in views_handler_filter_in_operator->admin_summary() (line 328 of /home.../public_html/drupal/sites/all/modules/views/handlers/views_handler_filter_in_operator.inc).
* Notice: Undefined index: in views_handler_filter_in_operator->admin_summary() (line 328 of /home.../public_html/drupal/sites/all/modules/views/handlers/views_handler_filter_in_operator.inc).
They are both views that began as workbench created views but were cloned. I just created another clone and it too is throwing these up.
Any ideas? admin_summary sounds like I forgot to set a summary somewhere?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | views-empty-filter-not-added-example-view-1087348.txt | 2.73 KB | ciss |
Comments
Comment #1
TrevorG commentedJust downloaded the newest dev 2011 Mar 09, but it still shows. These errors, by the way, are only shown when I am in the edit screen for either view.
Comment #2
dawehnerRemoved tags, because they are useless duplicate information.
So notices aren't error messages, hopefully you know this.
Can you describe how to reproduce this problem? For example an export of your view would help.
As you can read on the issue add page you should have read http://drupal.org/node/571990
It's really helpful for you to get your problem fixed fast.
Comment #3
esmerel commentedComment #4
esmerel commentedComment #5
ciss commentedThe problem stems from filters on overridden relationships that use the "empty" operator.
For views_filter_handler_numeric, the "empty" operator only gets added if the filter handler definition contains "allow empty" => true. This key gets set by views_handler_filter::init() whenever a filter handler uses a relationship. While the query is built, the relationships are retrieved from the default display, and as a result "allow empty" is not set in views_handler_filter::init().
I've attached a view export that demonstrates the problem.
Comment #6
ciss commentedThis only happens when using the Views preview. Outside of it the display seems to build/execute just fine.