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.
Comment | File | Size | Author |
---|---|---|---|
#1 | node_export-pass_export_format-1835716-2.patch | 590 bytes | rvtraveller |
Comments
Comment #1
rvtraveller CreditAttribution: rvtraveller commentedPatch attached to pass the format variable along the chain. It was just this one step that was missing it.
Comment #2
danielb CreditAttribution: danielb commentedSeems to already be fixed in my code :/