When using VBO for creating a Rules module action, such as "Load a list of entity objects from a VBO View", Rules displays a dropdown which should show all 'view|display' combinations which have a Bulk Operations field.

From 7.x-3.4 this behaviour changed, and now only Views which have a Bulk Operations field in the "master" will appear in this list. If your Bulk Operations field only appears as an override in, say, the "Page" display, it will no longer appear / be selectable.

Updating the module to 7.x-3.4 will break the operation of existing rules actions/action sets which rely on a view with the Bulk Operation not appearing in the view master.

This regression was introduced by #1871702: Load a list of entity from a VBO View doesn't work (AJAX error).

CommentFileSizeAuthor
#2 non_master_views_actions_2856974-2.patch627 byteschriso

Comments

chriso created an issue. See original summary.

chriso’s picture

Status: Active » Needs review
StatusFileSize
new627 bytes

Patch attached.

chriso’s picture

Issue summary: View changes
Jeroen94’s picture

Status: Needs review » Reviewed & tested by the community

I confirm this bug; it took me ages to find this issue. The small patch in #2 works perfectly. Please commit as soon as possible!

yemoko’s picture

Hi here,
I confirm,
The patch #2 worked well for me :+1.
Thank you

chris matthews’s picture

delacosta456’s picture

hi
i can confirm this bug too. but did not try to apply the patch because the Vbo i am using looks to be a be packaged with the distribution (Panopoly) i am using and also not a dev version ... So it'may not be safe for me unless committed.

Thanks

joelpittet’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, sorry didn't look at this till now, I've committed to dev for the next release.

joelpittet’s picture

  • joelpittet committed ae61c50 on 7.x-3.x authored by chriso
    Issue #2856974 by chriso, Jeroen94, Chris Matthews, delacosta456: Rules...

Status: Fixed » Closed (fixed)

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