module Views Data Export version : 7.x.3.x.dev
module Views version : 7.x-3.0.rc1
I got the following message

"Notice: Undefined index: options in views_plugin_display->get_plugin() (line 726 of E:\xampp\htdocs\drupalint\sites\all\modules\"

in the Administration panel during the creation of a "Data export" display.

I am able to get the preview ( "A maximum of 20 items will be shown here, all results will be shown on export.).

The main issue is : the CSV file generated is not complete (only 11 rows) whereas the extract contains more than 20 records.

Comments

geek-merlin’s picture

Project: Views (for Drupal 7) » Views data export
Version: 7.x-3.0-rc1 » 7.x-3.x-dev
Component: User interface » Code

I can confirm this - quite sure this belongt to dataexport module.

tswaters’s picture

Status: Active » Needs review
StatusFileSize
new1.37 KB

I'm not sure about your issue with the CSV file being incomplete -- but I encountered the undefined index warning myself.

I've "fixed" it by adding a blank options array to the second parameter of 'set_option'. I'm not entirely sure if this will have any effect but to remove the warning.

This is also my first-ever patch to a conributed project so don't be surprised if I completely buggered it :)

Status: Needs review » Needs work

The last submitted patch, fix_views_data_export.patch, failed testing.

steven jones’s picture

Status: Needs work » Needs review
StatusFileSize
new1.2 KB

Let's try a fixed up version of that patch.

steven jones’s picture

Status: Needs review » Fixed

@tswaters Thanks very much for the patch, I've applied to 7.x-3.x, and credited you as the author of the commit. Thanks!

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

grammar correction