View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
09026Bug reportsImport/Exportpublic2014-11-23 23:42
Reportermas_carpone Assigned Toc_schmitz  
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
Fixed in Version2.05+ 
Summary09026: Export of blank results table points to a blank page"
Description

When trying to export a results table with no entries in it, the page turns blank with no download/export and no error message.

Nothing incredibly disturbing though (we normally do that when we want to develop some automated analysis in excel for small surveys)

Additional Information

Version 2.05+ Build 140502

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version

Users monitoring this issue

There are no users monitoring this issue.

Activities

gabrieljenik

gabrieljenik

2014-11-05 05:20

manager   ~30912

Fixed issue. I have no permission for changing status of this issue.

A blank page was returned when exporting empty surveys, because no content was given to output.
Headers were not returned neither (as contrary to the expected), as headers are written before the first record. As no records were given, no headers were written.

By providing an empty record, headers are written and output matches expectations.

Commit: https://github.com/LimeSurvey/LimeSurvey/commit/a2ec69a3c88f87e6da8c0b82b336b6f11c262abc

Pull Request: https://github.com/LimeSurvey/LimeSurvey/pull/231

c_schmitz

c_schmitz

2014-11-05 10:17

administrator   ~30916

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14600

c_schmitz

c_schmitz

2014-11-05 10:18

administrator   ~30917

gabrieljenik, looks good - can you provide a patch for the 2.06 branch, too - please?

gabrieljenik

gabrieljenik

2014-11-05 20:34

manager   ~30918

@c_schmitz: Done.

Commit: https://github.com/LimeSurvey/LimeSurvey/commit/843a2a24e841b953b9214d24ede8c5bf1d793935

Pull Request: https://github.com/LimeSurvey/LimeSurvey/pull/232

c_schmitz

c_schmitz

2014-11-05 21:05

administrator   ~30919

Fix committed to 2.06 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14602

c_schmitz

c_schmitz

2014-11-23 23:42

administrator   ~31064

Version 2.05 Build 141123 released.

Related Changesets

LimeSurvey: master a2ec69a3

2014-11-05 04:17:17

gabrieljenik

Details Diff
Fixed issue 09026: If empty survey, export 1 empty record to avoid blank results.

A blank page was returned when exporting empty surveys, because no content was given to output.
Headers were not given neither (as contrary to the expected), as headers are written before the first record. As no records were given, no headers were written.
By providing an empty record, headers are written and output matches expectations.
Affected Issues
09026
mod - application/helpers/admin/export/Writer.php Diff File

LimeSurvey: master 3b712f93

2014-11-05 09:17:45

c_schmitz

Details Diff
Merge pull request #231 from gabrieljenik/patch-2

Fixed issue 09026: If empty survey, export 1 empty record
Affected Issues
09026
mod - application/helpers/admin/export/Writer.php Diff File

LimeSurvey: 2.06 843a2a24

2014-11-05 19:33:29

gabrieljenik

Details Diff
Fixed issue 09026: If empty survey, export 1 empty record to avoid blank results.

A blank page was returned when exporting empty surveys, because no content was given to output.
Headers were not given neither (as contrary to the expected), as headers are written before the first record. As no records were given, no headers were written.
By providing an empty record, headers are written and output matches expectations.
Affected Issues
09026
mod - application/helpers/admin/export/Writer.php Diff File

LimeSurvey: 2.06 07e6d92f

2014-11-05 20:05:19

c_schmitz

Details Diff
Merge pull request #232 from gabrieljenik/patch-3

Fixed issue 09026: If empty survey, export 1 empty record to avoid blank...
Affected Issues
09026
mod - application/helpers/admin/export/Writer.php Diff File

Issue History

Date Modified Username Field Change
2014-05-08 16:28 mas_carpone New Issue
2014-11-02 13:26 DenisChenu Project Feature requests => Bug reports
2014-11-05 05:20 gabrieljenik Note Added: 30912
2014-11-05 10:15 c_schmitz Assigned To => gabrieljenik
2014-11-05 10:15 c_schmitz Status new => assigned
2014-11-05 10:17 gabrieljenik Changeset attached => LimeSurvey master a2ec69a3
2014-11-05 10:17 c_schmitz Changeset attached => LimeSurvey master 3b712f93
2014-11-05 10:17 c_schmitz Note Added: 30916
2014-11-05 10:17 c_schmitz Assigned To gabrieljenik => c_schmitz
2014-11-05 10:17 c_schmitz Resolution open => fixed
2014-11-05 10:18 c_schmitz Note Added: 30917
2014-11-05 20:34 gabrieljenik Note Added: 30918
2014-11-05 21:05 gabrieljenik Changeset attached => LimeSurvey 2.06 843a2a24
2014-11-05 21:05 c_schmitz Changeset attached => LimeSurvey 2.06 07e6d92f
2014-11-05 21:05 c_schmitz Note Added: 30919
2014-11-22 16:52 c_schmitz Status assigned => resolved
2014-11-22 16:52 c_schmitz Fixed in Version => 2.05+
2014-11-23 23:42 c_schmitz Note Added: 31064
2014-11-23 23:42 c_schmitz Status resolved => closed