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?

CommentFileSizeAuthor
#2 WA-view.txt2.99 KBrosborn
workbench-taxonomy.png18.24 KBrosborn

Comments

agentrickard’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

It 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).

rosborn’s picture

Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new2.99 KB

Sorry, 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.

agentrickard’s picture

Category: support » bug

Ugh. Someone failed to re-open that old issue. Thanks.

Courtney.B’s picture

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

agentrickard’s picture

From @jan.ptacek at #2013793: access filter issues illegal offset in admin_summary()

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

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.

+ function admin_summary() {}

seems to work on my side

todea’s picture

Issue summary: View changes

I have the same issue using: 7.x-1.4