Hi,

I'm trying to use VBO to build image galleries; my galleries are build as nodes, from where the images are referenced by a node reference field. For that, I'm limiting the VBO view to node type "image and filter it by a term from my gallery vocabulary ("photoset"). So far it works fine.

Then I choose "Bulk operations: Modify node fields", select the nodes to be changes, then press "Execute". This gives me a new page called "Set parameters for 'Modify node fields'". There I choose n the "Field" column: "Photoset:

That directs me to the VBO view I came from (./admin/content/node2) with the error message: "No row selected. Please select one or more rows." Indeed, no nodes are selected anymore. This I can repeat over and over again, "Modify node fields" simply refuses to execute the bulk operation on one node reference field.

Node type "Photoset" (the "gallery" content type) consists of two attached views (through Views attach: "Attached view: gallery_photos - node_content_2" and "Attached view: gallery_photos - node_content_1"). This setup is derived from Jeff Eatons Photo galleries with Views Attach @Lullabot.

Is there anything else I can provide to help solve this issue?

Thanks & greetings,
-asb

Comments

infojunkie’s picture

Your report is not clear on what error actually occurs. I just tried to bulk modify node reference fields and it seems to be working fine on my side.

What happens after you choose the desired field? By turning on the field's checkbox, you should be able to select the referenced node(s) and then submit the form. Is that not what happens?

asb’s picture

Sorry, the paragraph became garbled because I used an < without "code" tags. It should read something like:

(...) Then I choose "Bulk operations: Modify node fields", select the nodes to be changed, then press "Execute". This gives me a new page called "Set parameters for 'Modify node fields'". There I choose in the "Field" column: "Photoset: {name-of-referenced-gallery}" by clicking on the checkbox; this gives me a pulldown menu with the available gallery nodes. I choose one and press "Next". That directs me back to the VBO view ./admin/content/node2 and outputs the error: "No row selected. Please select one or more rows."

The "gallery" content type is built according to Jeff Eatons screencast Photo galleries with Views Attach @Lullabot; there is also a Drupal module by KarenS that basically reproduces this gallery type (Views Gallery). The image content type references the gallery by a node reference (that's what I try to buld edit - select a bunch of images and put them into a gallery node). The used widget type is "Reference from URL"; the field is "required", and from image node the only content type that can be referenced is "photoset" (the gallery content type).

It might be crucial that we're using Views Attach (Attached view: "gallery_photos - node_content_2" and "gallery_photos - node_content_1") and Nodereference URL to build the image <-> gallery relations.

On the other hand the same redirect to ./admin/content/node2 happens when I simply try to modify a normal node reference field, at least with this content type.

I hope this makes the used setup clearer. Again apologies for the garbled posting ;-/

Greetings, -asb

asb’s picture

Component: Code » Core
Status: Active » Closed (fixed)

Hi,

issue solved - it was an incompatibility with another module ("Memcache" module). Disabled and uninstalled memcache module, and VBO is working fine on node fields.

Greetings, -asb