View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
07643Bug reportsImport/Exportpublic2013-03-17 12:12
Reporterrgrela Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary07643: answercode is not set in heading to export survey responses
Description

When I export the surveys responses to a csv, for example, answercode is not set in heading.

Steps To Reproduce

Export the responses of survey

Additional Information

We are solving with this function of file "exportresults_helper.php". We set answercode and not "return '- comment'"

private function getCommentSubHeading($answerCode)
{
return '['.$answerCode.']';
}

Is it ok? Is a bug of this version?

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)130129
I will donate to the project if issue is resolvedNo
BrowserIE, Firefox
Database type & versionMysql
Server OS (if known)Linux
Webserver software & version (if known)apache
PHP Version5

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2013-03-08 11:16

administrator   ~24582

Can you give a full example please? Which question type does this affect. What settings do you use during the export? At exactly which place do you expect and answer code to be shown?

Please add a small test survey as .lsa and screenshot fo what's wrong.
Thank you!

rgrela

rgrela

2013-03-08 13:59

reporter   ~24588

The code in version 130129 is this:

private function getCommentSubHeading()
{
return '- comment';
}

and not set answercode in the columns comment

c_schmitz

c_schmitz

2013-03-08 14:19

administrator   ~24592

I just saw that you are using an old version. Please update to the latest version and let me know if the issue still exists.

rgrela

rgrela

2013-03-11 20:26

reporter   ~24641

yes, the problem still exists in 130305

c_schmitz

c_schmitz

2013-03-12 10:28

administrator   ~24651

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

c_schmitz

c_schmitz

2013-03-12 12:36

administrator   ~24665

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

c_schmitz

c_schmitz

2013-03-17 12:12

administrator   ~24725

New version released.

Related Changesets

LimeSurvey: master fe4f8e43

2013-03-12 09:28:21

c_schmitz

Details Diff
Fixed issue 07643: Answer code is not set in comment field headings when exporting responses Affected Issues
07643
mod - application/helpers/admin/exportresults_helper.php Diff File

LimeSurvey: 2.05 8d01ad29

2013-03-12 09:28:21

c_schmitz

Details Diff
Fixed issue 07643: Answer code is not set in comment field headings when exporting responses Affected Issues
07643
mod - application/helpers/admin/exportresults_helper.php Diff File

Issue History

Date Modified Username Field Change
2013-03-08 09:44 rgrela New Issue
2013-03-08 11:16 c_schmitz Note Added: 24582
2013-03-08 11:16 c_schmitz Assigned To => c_schmitz
2013-03-08 11:16 c_schmitz Status new => feedback
2013-03-08 13:56 rgrela File Added: results-survey29958_answercode.xls
2013-03-08 13:57 rgrela File Added: export_response_without_answercode.docx
2013-03-08 13:59 rgrela Note Added: 24588
2013-03-08 13:59 rgrela Status feedback => assigned
2013-03-08 14:05 rgrela File Added: limesurvey_survey_29958_answer.lss
2013-03-08 14:19 c_schmitz Note Added: 24592
2013-03-08 14:19 c_schmitz Status assigned => feedback
2013-03-11 20:26 rgrela Note Added: 24641
2013-03-11 20:26 rgrela Status feedback => assigned
2013-03-12 10:28 c_schmitz Status assigned => resolved
2013-03-12 10:28 c_schmitz Fixed in Version => 2.00+
2013-03-12 10:28 c_schmitz Resolution open => fixed
2013-03-12 10:28 c_schmitz Changeset attached => LimeSurvey master fe4f8e43
2013-03-12 10:28 c_schmitz Note Added: 24651
2013-03-12 12:36 c_schmitz Changeset attached => LimeSurvey 2.05 8d01ad29
2013-03-12 12:36 c_schmitz Note Added: 24665
2013-03-17 12:12 c_schmitz Note Added: 24725
2013-03-17 12:12 c_schmitz Status resolved => closed