When using the Views Bulk Operations feature to export nodes through node export, the export format is not carried through the code completely. As such, the node_export module falls back to the first activated export format (code in node_export.module, node_export(), approx line 351 does this).

To reproduce:
1. Install the node_export module and activate a few export formats (such as JSON and DSV)
2. Create a view of nodes and add a Bulk Operations field that allows you to export in DSV format - Node export (DSV) (node_export_dsv_action)
3. Select some rows from the view and click the export button.
4. Observe the export format is JSON and not DSV.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rvtraveller’s picture

Status: Active » Needs review
FileSize
590 bytes

Patch attached to pass the format variable along the chain. It was just this one step that was missing it.

danielb’s picture

Issue summary: View changes
Status: Needs review » Closed (fixed)

Seems to already be fixed in my code :/