When I create a new view which lists teasers of a content type which has a single-value taxonomy term and add a filter for that term, I get the following AJAX error before the Settings pane appears:
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /drupal/admin/structure/views/ajax/config-item-extra/exhibit_lists/page/filter/field_ex_area_tid
StatusText: OK
ResponseText: Notice: Undefined index: vid in extra_options_form() (line 47 of /var/www/html/drupal/sites/all/modules/views/modules/taxonomy/views_handler_filter_term_node_tid.inc).
The line where the error happens in extra_options_form is this:
if ($this->options['vid'] == 0) {
If I check for the ['vid'] key, then the code seems to run fine:
if (isset($this->options['vid']) && $this->options['vid'] == 0) {
I'll attach a patch, but I'm wondering if there is some problem I'm not aware of which is causing this view to not have this 'vid' key when it should.
I am running today's dev version of Views and yesterday's dev version of CTools, as well as D7.8.
Comments
Comment #1
dawehnerI'm personally convinced that most notices actually show a bug.
Here is a bug which fixes the underlying issue.
Comment #2
dawehnerCommited as this should fix the issue.
But still i don't get it, if you post a patch it's like a global wave of silent coming up.
Comment #3
dawehnerUpdate status.