I have Workflow VBO (7.x-2.3) and Views Bulk Operations (7.x-3.2) installed. I have created a workflow in which a document moves from A to B then to C.
When B changes the state of individual node to next state, it works properly. However, after installing VBO and adding a button in view (Change Workflow State of Post to Next state) , when multiple nodes are selected and executed the message given is
You selected the following 0 items:
After confirm is pressed it says processed 2 out of 2 (if there are 2 nodes) however, the state of node does not change.
I checked for the error as pico34 in (https://www.drupal.org/node/1962344) has suggested but that error does not exist in this version of code.
Can someone help please?
Thanks
Comments
Comment #1
sverma commentedany help possible please.
Sanjay
Comment #2
johnvThis is next on my list. Possible this weekend. You are not alone :-)
Comment #3
johnvA short update: before, I could replicate your error. But now I don't. Please try latest dev-version and flush caches:
- when using 'Next state', all works fine
- when using 'New state', there are no errors, but state is not changed on first attempt. On a second attempt, they did change.
This was with user 1. Need to test with another user.
Do you use workflow_node or workflow_field?
[EDIT]
When checking the message log, the following apprears:
- more then expected notices: State of Node NAME set to STATE
- one notice: Unable to get current workflow state of entity 6.
- two consecuent notices in the same second: Stack overflow: too many calls to actions_do(). Aborting to prevent infinite recursion.
Comment #4
johnvadditional info for problem solving: #2208919: No information about selected items in context of action.
Comment #5
johnvThis should be fixed now. it was a difficult fix.
Comment #8
bduell commentedThis appears to still be an issue. Using Workflow 7.x-2.5-beta1+9-dev and Views Bulk Operations 7.x-3.2 I am getting exactly the same behavior as what sverma originally reported.
Any insight? Thank you!!
Comment #9
bduell commentedMy apologies. I was using the field "Bulk operations: Workflow executed transition" instead of "Bulk operations: Content" and now it appears to work.
Thanks so much!!