Problem/Motivation
Installing the module and opening the views page with one of the following path generates the error.
/admin/reports/queue/details/admin/reports/queue/processing
Notice: Undefined index: date_filter in views_handler_filter->accept_exposed_input() (line 1273 of DRUPAL_ROOT/sites/all/modules/contrib/views/handlers/views_handler_filter.inc).
This is caused if the filter handler date_filter is not defined in the environment. It's defined by Views Date (views_date) module.
Steps to reproduce:
- Install the advancedqueue module of the dev version.
- Open the views page.
- You can see the notices.
Proposed resolution
Add if conditions to use the filter and add a notice in README.
Remaining tasks
- Create a patch
- Review the patch
User interface changes
(None)
API changes
(None)
Data model changes
(None)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | advancedqueue-2873509-3.png | 24.34 KB | hgoto |
| #3 | advancedqueue-avoid_broken_filter_handler-2873509-3.patch | 10.9 KB | hgoto |
Comments
Comment #2
hgoto commentedComment #3
hgoto commentedHere's a capture for the notice and a patch to fix this.
Comment #4
David Sparks commentedWhile waiting for this patch to be committed, people can unset the broken filter as follows:
Comment #5
jcnventuraComment #7
jcnventura