View Issue Details

IDProjectCategoryView StatusLast Update
13628Bug reports[All Projects] Import/Exportpublic2018-04-24 11:21
ReporterTonisOrmissonAssigned ToTonisOrmisson 
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version4.0.0dev 
Target Version4.0.0devFixed in Version4.0.0dev 
Summary13628: Unable to import responses from archive
Description

While importing a survey archive, the process fails while importing the responses with

XMLReader::open(): Unable to open source data
on :
/var/www/html/application/helpers/admin/import_helper.php(2116)

2104 @param string $sFullFilePath
2105
@return mixed
2106 */
2107 function XMLImportResponses($sFullFilePath, $iSurveyID, $aFieldReMap = array())
2108 {
2109 Yii::app()->loadHelper('database');
2110 $survey = Survey::model()->findByPk($iSurveyID);
2111
2112 switchMSSQLIdentityInsert('survey_'.$iSurveyID, true);
2113 $results = [];
2114 $results['responses'] = 0;
2115 $oXMLReader = new XMLReader();
2116 $oXMLReader->open($sFullFilePath);

TagsNo tags attached.
Complete LimeSurvey version number (& build) 4.0.0dev
I will donate to the project if issue is resolvedNo
Browser
Database & DB-Versionmysqlnd 5.0.12-dev - 20150407
Server OS (if known) Linux 6688ffcd92db 4.13.0-38-generic
Webserver software & version (if known) nginx/1.10.3
PHP Version 7.0.28-0ubuntu0.16.04.1

Activities

Related Changesets

LimeSurvey: develop cf19a02b

2018-04-24 08:15:08

TonisOrmisson


Committer: GitHub Details Diff
Fixed issue 13628: Unable to import responses from archive (#1055) Affected Issues
13628
mod - application/helpers/admin/import_helper.php Diff File

LimeSurvey: develop 5f32b43e

2018-04-24 11:21:11

TonisOrmisson


Committer: GitHub Details Diff
Fixed issue 13628: Unable to import responses from archive - fix security (#1056) Affected Issues
13628
mod - application/helpers/admin/import_helper.php Diff File

Issue History

Date Modified Username Field Change
2018-04-24 08:09 TonisOrmisson New Issue
2018-04-24 08:09 TonisOrmisson Status new => assigned
2018-04-24 08:09 TonisOrmisson Assigned To => TonisOrmisson
2018-04-24 08:15 TonisOrmisson Changeset attached => LimeSurvey develop cf19a02b
2018-04-24 08:15 TonisOrmisson Note Added: 47500
2018-04-24 08:15 TonisOrmisson Resolution open => fixed
2018-04-24 08:15 TonisOrmisson Status assigned => closed
2018-04-24 08:15 TonisOrmisson Fixed in Version => 4.0.0dev
2018-04-24 08:15 TonisOrmisson Note Added: 47501
2018-04-24 11:21 TonisOrmisson Changeset attached => LimeSurvey develop 5f32b43e
2018-04-24 11:21 TonisOrmisson Note Added: 47509