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?

Comments

TrevorG’s picture

Just 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.

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: -views, -bug

Removed 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.

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
esmerel’s picture

ciss’s picture

Issue summary: View changes
Status: Closed (cannot reproduce) » Active
StatusFileSize
new2.73 KB

The 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.

ciss’s picture

Priority: Normal » Minor

This only happens when using the Views preview. Outside of it the display seems to build/execute just fine.