View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
05513Bug reportsImport/Exportpublic2012-03-14 21:08
ReporterTMSWhite Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00a1 
Fixed in Version2.00a1 
Summary05513: xmlwriter error when exporting array dual scale responses
Description

Array dual scale variable names are not valid NMTOKENS - e.g. 123X45X678money#1

This line in export_helper.php causes the export to fail:

if (!$xmlwriter->startElement($Key)) safe_die('Invalid elemnt key: '.$Key);

Although it is easy to detect and change those variable names, it is not obvious how import_helper should be changed to properly re-import such data.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)11169
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5.3
Server OS (if known)Windows XP
Webserver software & version (if known)Apache 2
PHP Version5.2

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2011-10-15 11:53

administrator   ~16426

I am for going the whole nine yards and get the # out of the fieldnaming.
Which character should we use to replace it?

c_schmitz

c_schmitz

2011-10-15 12:15

administrator   ~16427

Ok, I will take that back. I will replace the # with - on export and on import the other way. Just fixed it.

Related Changesets

LimeSurvey: Yii e1e796fc

2011-10-15 03:16:29

c_schmitz

Details Diff
Fixed issue 05513: xmlwriter error when exporting array dual scale responses

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11172 b72ed6b6-b9f8-46b5-92b4-906544132732
Affected Issues
05513
mod - application/controllers/admin/user.php Diff File
mod - application/helpers/admin/import_helper.php Diff File
mod - application/helpers/export_helper.php Diff File

LimeSurvey: Yii 89a7de07

2011-10-15 05:19:54

TMSWhite

Details Diff
Fixed issue 05513: xmlwriter error when exporting array dual scale responses
Dev fixed typo


git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@11173 b72ed6b6-b9f8-46b5-92b4-906544132732
Affected Issues
05513
mod - application/helpers/export_helper.php Diff File

Issue History

Date Modified Username Field Change
2011-10-15 05:52 TMSWhite New Issue
2011-10-15 11:52 c_schmitz Assigned To => c_schmitz
2011-10-15 11:52 c_schmitz Status new => assigned
2011-10-15 11:53 c_schmitz Note Added: 16426
2011-10-15 12:15 c_schmitz Note Added: 16427
2011-10-15 12:15 c_schmitz Status assigned => closed
2011-10-15 12:15 c_schmitz Resolution open => fixed
2011-10-15 12:15 c_schmitz Fixed in Version => 2.00a1
2012-03-14 21:08 TMSWhite Changeset attached => Import 2012-03-09 13:30:34 Yii 89a7de07
2012-03-14 21:08 c_schmitz Changeset attached => Import 2012-03-09 13:30:34 Yii e1e796fc