View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
17147Bug reportsImport/Exportpublic2021-03-15 15:37
Reporterzufolo441 Assigned Toc_schmitz  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version4.4.7 
Summary17147: unable to export data in SPSS
Description

Hi,
when I try to export data in SPSS format, i obtain an error in export_helper.php row 131: the variable $survey is not defined.
if I add
$survey = Survey::model()->findByPk($iSurveyID);
then the error moves to row 171:
echo quoteSPSS(date('d-m-Y H:i:s', mktime($hour, $minute, $second, $month, $day, $year)), $q, field);
I had to modify in
echo quoteSPSS(date('d-m-Y H:i:s', mktime($hour, $minute, $second, $month, $day, $year)), $q, $field);

and then works!

Steps To Reproduce

export data to SPSS format

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)4.4.11
I will donate to the project if issue is resolvedNo
BrowserFirefox 86
Database type & versionPostgreSQL 11.9
Server OS (if known)BSD 12.2
Webserver software & version (if known)Apache 2.4
PHP Version7.1.33

Relationships

related to 16693 closedc_schmitz Export responses to spss 

Users monitoring this issue

webmaster.wad

Activities

c_schmitz

c_schmitz

2021-03-09 20:57

administrator   ~62979

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

c_schmitz

c_schmitz

2021-03-09 20:57

administrator   ~62980

Thank you!

lime_release_bot

lime_release_bot

2021-03-15 15:37

administrator   ~63371

Fixed in Release 4.4.13+210315

Related Changesets

LimeSurvey: master 1d9b12d4

2021-03-09 20:56:55

c_schmitz

Details Diff
Fixed issue 17147: Unable to export data to SPSS Affected Issues
17147
mod - application/helpers/export_helper.php Diff File

Issue History

Date Modified Username Field Change
2021-03-02 10:06 zufolo441 New Issue
2021-03-09 17:26 webmaster.wad Issue Monitored: webmaster.wad
2021-03-09 20:54 c_schmitz Relationship added related to 16693
2021-03-09 20:57 c_schmitz Changeset attached => LimeSurvey master 1d9b12d4
2021-03-09 20:57 c_schmitz Note Added: 62979
2021-03-09 20:57 c_schmitz Assigned To => c_schmitz
2021-03-09 20:57 c_schmitz Resolution open => fixed
2021-03-09 20:57 c_schmitz Status new => resolved
2021-03-09 20:57 c_schmitz Note Added: 62980
2021-03-15 15:37 lime_release_bot Note Added: 63371
2021-03-15 15:37 lime_release_bot Status resolved => closed
2021-08-02 20:40 guest Bug heat 4 => 6