I have downloaded the latest dev version of Workbench Access (2012-Oct-02) and tested the use of editorial sections as taxonomy filters in Views (7.x-3.5) - see screenshot. Nothing shows up. If I switch to a regular non-WA taxonomy term (including, of course, switching the vocabulary), they show up without problem. When I last looked into this, I assumed it was a symptom of #1187424: Default taxonomy form support, but that is marked as fixed. Is it a symptom of the same issue?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | WA-view.txt | 2.99 KB | rosborn |
| workbench-taxonomy.png | 18.24 KB | rosborn |
Comments
Comment #1
agentrickardIt shouldn't be. Can you export and attach the view here.
Be sure you are using the native form for access control. That means uncheck the "Require a workbench access form element" setting and configure the term fields as access control.
If you are using the Workbench Access-generated form element, then it has it's own filter (and it's own data storage).
Comment #2
rosborn commentedSorry, I didn't know about the Workbench Access Filter in Views. It looks as if it works but when I edited the View to use remove an old taxonomy filter and use the WA filter, I get:
Warning: Illegal offset type in unset in views_handler_filter_in_operator->admin_summary() (line 313 of /home/dgfumc/public_html/test/sites/all/modules/views/handlers/views_handler_filter_in_operator.inc).
Actually, I got the same error when I deleted the View and started from scratch. I'm attaching an export of the new View.
P.S. Is this related to #1284680: Views filter only works when exposed?
P.P.S. I should have said that the View itself seems to work as intended - I just get the error messages when I try to edit it.
Comment #3
agentrickardUgh. Someone failed to re-open that old issue. Thanks.
Comment #4
Courtney.B commentedCan confirm bug. Receive below error when trying to set Workbench Access: Access Filter.
Warning: Illegal offset type in unset in views_handler_filter_in_operator->admin_summary() (line 313 of /var/www/html/sites/all/modules/views/handlers/views_handler_filter_in_operator.inc).Using Workbench Access version 7.x-1.0+52-dev.
Comment #5
agentrickardFrom @jan.ptacek at #2013793: access filter issues illegal offset in admin_summary()
happens when you add a workbench access filter (without any selected section)
the inherited admin_summary from views_handler_filter_in_operator seems not to cope well with provided empty values.
seems to work on my side
Comment #6
todea commentedI have the same issue using: 7.x-1.4