View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
09446Bug reportsImport/Exportpublic2015-02-11 15:57
Reporteraesteban Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05+ 
Target Version2.05+Fixed in Version2.05+ 
Summary09446: Error when exporting question group to .lsg file
Description

Resulting xml file is not valid because contains an error.

Steps To Reproduce

1.- Load attached survey
2.- Try to export one question group to .lsg file

Result: File contains a stack error (see attached file)

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)1fd84e50bad58e8230a50a58f7df
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & versionPostgresql 9.3
Server OS (if known)Ubuntu 14.04
Webserver software & version (if known)Nginx 1.4.6
PHP Version5.5.9

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2015-01-29 15:01

developer   ~31550

config : 2 => add viewHelper::disableHtmlLogging() before export.

aesteban

aesteban

2015-02-04 15:31

developer   ~31628

Denis ask me to assign this bug to him

DenisChenu

DenisChenu

2015-02-04 16:58

developer   ~31630

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

DenisChenu

DenisChenu

2015-02-04 17:02

developer   ~31631

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

DenisChenu

DenisChenu

2015-02-04 17:03

developer   ~31632

Here, it's just the usage of viewHelper::disableHtmlLogging(); whan you don't want HTML debug.
I just fix group_export, but other can be fixed too (question/label etc ...)

We have to use it when we return json/xml etc ...

Maybe replace HTML console log by another ?
For json a debug onject etc ...

c_schmitz

c_schmitz

2015-02-11 15:57

administrator   ~31656

Version 2.05 Build 150211 released

Related Changesets

LimeSurvey: master 2d6e486f

2015-02-04 16:58

DenisChenu


Details Diff
Fixed issue 09446: Error when exporting question group to .lsg file with debugsql=1
Dev: usage of viewHelper::disableHtmlLogging(); when don't want console debug
Affected Issues
09446
mod - application/helpers/export_helper.php Diff File

LimeSurvey: 2.06 de1c2fb8

2015-02-04 17:02

DenisChenu


Details Diff
Fixed issue 09446: Error when exporting question group to .lsg file with debugsql=1
Dev: usage of viewHelper::disableHtmlLogging(); when don't want console debug
Affected Issues
09446
mod - application/helpers/export_helper.php Diff File

Issue History

Date Modified Username Field Change
2015-01-08 19:19 aesteban New Issue
2015-01-08 19:20 aesteban File Added: limesurvey_group_18.lsg
2015-01-08 19:20 aesteban File Added: survey_archive_369689.lsa
2015-01-29 15:01 DenisChenu Note Added: 31550
2015-01-29 15:33 c_schmitz Assigned To => aesteban
2015-01-29 15:33 c_schmitz Status new => assigned
2015-02-04 15:30 aesteban Assigned To aesteban => DenisChenu
2015-02-04 15:31 aesteban Note Added: 31628
2015-02-04 16:58 DenisChenu Changeset attached => LimeSurvey master 2d6e486f
2015-02-04 16:58 DenisChenu Note Added: 31630
2015-02-04 16:58 DenisChenu Resolution open => fixed
2015-02-04 17:02 DenisChenu Changeset attached => LimeSurvey 2.06 de1c2fb8
2015-02-04 17:02 DenisChenu Note Added: 31631
2015-02-04 17:03 DenisChenu Note Added: 31632
2015-02-04 17:03 DenisChenu Status assigned => resolved
2015-02-04 17:03 DenisChenu Fixed in Version => 2.05+
2015-02-11 15:57 c_schmitz Note Added: 31656
2015-02-11 15:57 c_schmitz Status resolved => closed