Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The 3.0 stable version and dev give me an error when I create a new rules component and add a VBO condition (number of results) and when I try to load an entity object from a VBO view. This does not happen on other conditions or actions.
"An illegal choice has been detected. Please contact the site administrator."
Something breaks since the rule component does not appear in my view.
I´m running Drupal 7.17.
Comments
Comment #1
busla CreditAttribution: busla commentedHere´s the watchdog report.
Id Date Severi Typ Message
ty e
1492 10/Nov 04:19 error for Illegal choice in vocab element.
m
1491 10/Nov 04:19 notice php Notice: Undefined index: action::node_unpublish_by_keyword_action in views_bulk_operations_handler_field_operations->options_form() (line
107 of /Applications/MAMP/htdocs/tki.is/sites/all/
1490 10/Nov 04:19 notice php Notice: Undefined index: action::node_unpublish_action in views_bulk_operations_handler_field_operations->options_form() (line 107 of
/Applications/MAMP/htdocs/tki.is/sites/all/modules/vie
1489 10/Nov 04:19 notice php Notice: Undefined index: action::system_send_email_action in views_bulk_operations_handler_field_operations->options_form() (line 107 of
/Applications/MAMP/htdocs/tki.is/sites/all/modules/
1488 10/Nov 04:19 notice php Notice: Undefined index: action::node_save_action in views_bulk_operations_handler_field_operations->options_form() (line 107 of
/Applications/MAMP/htdocs/tki.is/sites/all/modules/views_bu
1487 10/Nov 04:19 notice php Notice: Undefined index: action::node_unpromote_action in views_bulk_operations_handler_field_operations->options_form() (line 107 of
/Applications/MAMP/htdocs/tki.is/sites/all/modules/vie
1486 10/Nov 04:19 notice php Notice: Undefined index: action::system_goto_action in views_bulk_operations_handler_field_operations->options_form() (line 107 of
/Applications/MAMP/htdocs/tki.is/sites/all/modules/views_
1485 10/Nov 04:19 notice php Notice: Undefined index: action::node_publish_action in views_bulk_operations_handler_field_operations->options_form() (line 107 of
/Applications/MAMP/htdocs/tki.is/sites/all/modules/views
1484 10/Nov 04:19 notice php Notice: Undefined index: action::node_promote_action in views_bulk_operations_handler_field_operations->options_form() (line 107 of
/Applications/MAMP/htdocs/tki.is/sites/all/modules/views
1483 10/Nov 04:19 notice php Notice: Undefined index: action::views_bulk_operations_argument_selector_action in
views_bulk_operations_handler_field_operations->options_form() (line 107 of /Applications/MAMP/htdocs/tki
Comment #2
bojanz CreditAttribution: bojanz commentedBased on #1 this is a duplicate of #1738226: Notice: Undefined index: action::node_assign_owner_action in options_form().
Comment #3
fozzy CreditAttribution: fozzy commentedSorry, but I'm experiencing the very same problem and applying the fix in #1738226: Notice: Undefined index: action::node_assign_owner_action in options_form() doesn't solve it at all.
Maybe I'm wrong but I think this is not a duplicate, so I reactivate this one.
Comment #4
kenyan CreditAttribution: kenyan commentedSame with me on drupal 7.17. 'Fix' does not mitigate the issue:
I get:
Notice: Undefined index: action::node_unpublish_action in views_bulk_operations_handler_field_operations->options_form() (line 114 of /sites/all/modules/views_bulk_operations/views/views_bulk_operations_handler_field_operations.inc).
Comment #5
bojanz CreditAttribution: bojanz commentedDid you update VBO to 3.1?
There is an empty check on that line, a notice is now impossible.
Comment #6
kenyan CreditAttribution: kenyan commentedJust upgraded.
Error no longer appears. Thanks
Comment #7
bojanz CreditAttribution: bojanz commentedComment #8
busla CreditAttribution: busla commentedI updated to 3.1 and I still get the error as in OP.
The Watchdog message is:
Illegal choice in vocab element.
Comment #9
busla CreditAttribution: busla commentedI´ve not re-opened an issue before so please be nice if I´m making a mistake :-)
Comment #10
busla CreditAttribution: busla commentedComment #11
bojanz CreditAttribution: bojanz commentedSounds unrelated. If your debug digs up any clues, feel free to provide them. Otherwise I won't be able to debug this.
Comment #12
bojanz CreditAttribution: bojanz commentedNo further info provided. Reopen if you can point to the offending line, or provide a patch.
Also consider http://drupal.org/project/views_rules as an alternative.
Comment #13
tuccio CreditAttribution: tuccio commentedI am getting this error
whenever trying to load a VBO list from Rules.
The relevant Watchdog entries are:
Comment #14
coreteamvn CreditAttribution: coreteamvn commentedthanks - works really nice if you want to have views/rules integration!
Comment #15
junaidpvMet too face this issue with VBO 7.x-3.3 and the alternative http://drupal.org/project/views_rules helped me to solve the problem, though I see VBO way is better.