i just realized that though i got rid of errors being displayed, most of my exported cells are empty now.

say i have a view with 3 columns: title + 2 custom fields. only the title will be output, for every other custom text field i see the following log entries

Notice: Undefined property: stdClass::$field_field_hw_dbmsnr in views_handler_field_field->get_items() (line 622 of /.../modules/views/modules/field/views_handler_field_field.inc).

Warning: Invalid argument supplied for foreach() in views_handler_field->advanced_render() (line 936 of /.../modules/views/handlers/views_handler_field.inc).

Comments

Damien Tournoud’s picture

Title: Errors leading to empty cells » Field API fields are not exported

Retitling.

This is because Views data export hacks around Views' execution model, and does not call the proper hooks at the proper time.

Dutchie78’s picture

For me, when turning off 'Batched export' it works

realityloop’s picture

Turning off Batched worked for me too

cartagena’s picture

That worked. I just updated views, views data export and views bulk operations to latest dev releases (as of today, June 9) and still had the problem until I turned off the batch export. I have just under 2,000 records...what will happen as the database grows? Thanks!

tripper54’s picture

subscribe

xlyz’s picture

same problem.

subscribing.

olbion’s picture

Same problem

Woodside’s picture

Same issue, thanks for figuring this out, was driving myself nuts.

modstore’s picture

Same problem, works without batch. But keen for the fix as will have lots of records in the future.

that0n3guy’s picture

Ahh, I didn't notice this issue. Just spent like 30 min messing with it :) . Subscribing.

jsenich’s picture

Subscribing.

jsenich’s picture

Priority: Normal » Major
Steven Jones’s picture

Assigned: Unassigned » Steven Jones
Priority: Major » Critical

This is critical chaps, and I might just have time to take a look soon!

Steven Jones’s picture

Status: Active » Fixed

Easy peasy, fixed in dev, and I'll roll a new release in a bit.

jsenich’s picture

Works for me, thanks!

afreen.k’s picture

Version: 7.x-3.x-dev » 6.x-2.0-beta4
Priority: Critical » Minor

Turning off batch works for me too.... thanks!

Steven Jones’s picture

Version: 6.x-2.0-beta4 » 7.x-3.x-dev
Priority: Minor » Critical

Status: Fixed » Closed (fixed)

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

kaleumakant’s picture

I am also facing same issue of missing fields when i have selected batch process for exporting records. it is working fine for normal export (without batch export) but timesout due to large number of records.