I am trying to use the Rules action called "Load a list of entity objects from a VBO View." I had it working before, but I've since refreshed my DB from prod and I can't remember what my views looked like. I stripped the setup down to its most basic, vanilla configuration and I still can't get it to work.
Here's what I've done:
I created a view of Users. No page; no blocks; just a master display of users with no filter. Two fields: the user's name and the Bulk Operations checkbox (no actions; everything default).
I then created a rule. The event is just "view content" so I can iterate quickly. For the action, I selected "Load a list of entity objects from a VBO View." When I view a node (which triggers the rule), an error message pops up in the log that says, "Unable to get a data value. Error: Invalid data value given. Be sure it matches the required data type and format."
The reason is that the function
views_bulk_operations_action_load_list() is trying to make an entity_metadata_wrapper out of
FALSE. The exact line is
$entities = entity_metadata_wrapper($entity_type, $vbo->get_value($result)); // $entity_type == 'user'
$vbo->get_value($result) ends up
NULL. Where are the entities? Did I miss something obvious when I set up my view?