I am facing these errors while trying to choose any dynamic fields from the filter and the main function seems to work proper:
Notice: Undefined index: field_house в функции views_handler_filter_dynamic_fields->pre_query_no_sort() (строка 377 в файле sites/all/modules/views_dynamic_fields/handlers/views_handler_filter_dynamic_fields.inc).
Notice: Undefined index: field_office в функции views_handler_filter_dynamic_fields->pre_query_no_sort() (строка 377 в файле sites/all/modules/views_dynamic_fields/handlers/views_handler_filter_dynamic_fields.inc).
Please someone.. maybe a patch or something :)
This is absolutely amazing module we all need it for d7! Is there a way to enforce the development?
Thanks in advance!
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | views_dynamic_fields_missing_index_1369322_1.patch | 943 bytes | Anonymous (not verified) |
Comments
Comment #0.0
rootical commentedNotice: Undefined index: exposed в функции views_handler_filter_dynamic_fields->value_form() (строка 213 в файле /home/u3472/domains/detect.by/sites/all/modules/views_dynamic_fields/handlers/views_handler_filter_dynamic_fields.inc).
Comment #0.1
rootical commentedNotice: Undefined index: exposed в функции views_handler_filter_dynamic_fields->value_form() (строка 213 в файле /home/u3472/domains/detect.by/sites/all/modules/views_dynamic_fields/handlers/views_handler_filter_dynamic_fields.inc).
Comment #1
Anonymous (not verified) commentedAttached is a patch to solve the undefined index problem in the views handler.
Comment #2
rootical commentedYou are so kind! Thanks! Hope you will add this patch to the dev version. The module is great and very useful!
Comment #3
pixelsweatshop commentedWorks like a charm. Thanks kevee.
girishmuraly, if you have some time, do you think you could commit this to the 7.x-dev?
Comment #4
girishmuraly commentedCommitted! http://drupalcode.org/project/views_dynamic_fields.git/commit/124b94079a... Thanks.
Comment #6
pixelsweatshop commentedErrors are still showing up.
Comment #7
SemasPing commentedI have this errors when checked "Remember the last selection"
Comment #8
rooby commentedI have also still seen this error.
(the original error, not the one in #7, which is a different one and probably should have a different issue.)
I saw it when I added the same field twice.
To reproduce:
* Create a view
* Add some fields, adding Node: Title twice
* Add the filter, making sure that Node: Title is one of the options
* Go to the view and make sure Node: Title is a selected field.
* Error.
Comment #9
rooby commentedActually, there is no problem with adding two of the same fields.
My problem was that I added a bunch of fields at once to my view.
Views sometimes skips the settings step of adding fields when you do a lot at once.
In this case the field is not added properly and it messes with this module.
If you save the field again, then add it properly to the filter options, it works as expected.
This issue could pop up in a few places in the code where it uses variables as array keys without checking isset() first.
I will make a patch to fix it when I get a little time.
Comment #9.0
rooby commented[editing to remove a strange drupal.org migration comment that I'm pretty sure I didn't write]
Comment #10
donSchoe commentedComment #11
donSchoe commentedI can reproduce this behaviour, did you see anything what this may caused?
Will look into it later.
Comment #12
donSchoe commentedFixed, please try out the latest version and reopen this ticket if the issue still persists.