I finally tracked down the bug visible in the video I sent to Randy Fay (http://vimeo.com/29440919).

The scenario is that VBO is used to load lists of entities into Rules (which, needless to say, is very cool). When using data selection for entering arguments to send to the view, you get a warning "Notice: Undefined index: args in views_bulk_operations_action_load_list_info_alter()".
This might only be the case when using PHP 5.3.

Steps to reproduce:
* Enable VBO and Rules
* Create a new action set
* Add an action to load an entity list with VBO
* Switch to "data selection" rather than direct input for arguments
* Set something (for example site:current-user:uid)
* Save
-> The error message appears
* Go to the overview of Rules components
-> The error message appears again

Attached is a Selenium test that checks the things above, including also attempting to check that you're using PHP 5.3 (or in this case 5.3.6).

If you haven't used Selenium, try it with Firefox and be amazed: http://seleniumhq.org/projects/ide/
Before running the test, you can/should change the "Base URL" for Selenium (at the top of the IDE window). You can optionally add a base Path – see the first command in the Selenium test.

CommentFileSizeAuthor
VBO error message.txt2.8 KBitangalo

Comments

itangalo’s picture

In case you haven't use Selenium, here's a 3.5 minute video that will show you how it can be used.

http://vimeo.com/29711265

Running the test with Selenium took me 40 seconds (including some extra setup and also deleting the test configuration afterwards), so compared to testing manually it will probably save time on the second run. :-)

itangalo’s picture

Priority: Normal » Minor

Marking this as a minor, since it is perfectly possible to use direct input for setting the arguments. (And if you want more than one argument, direct input is the only option.)

bojanz’s picture

Status: Active » Fixed

I just loved the selenium test :) And I want to start doing that for the bug reports I file.

Committed a fix: http://drupalcode.org/project/views_bulk_operations.git/commitdiff/8d3a5...
Should improve performance as well, since it no longer executes the view just to get the entity type (which is needed all over the Rules UI, not just when the component gets executed).

Sorry for the delay, september was tricky :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.