View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
08129Bug reportsRemoteControlpublic2013-09-29 15:27
Reporterblueimpb Assigned Totrougakoss  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary08129: RemoteControl import_survey disallows using txt type (TSV)
Description

import_helper.php:importSurveyFile() allows importing a *.txt file, which is treated as TSV format. This works through the command line tool. But the RemoteControl function import_survey, in remotecontrol.php:import_survey(), restricts the allowed file types to zip, csv, xls, lss. This prevents importing txt (TSV) files unnecessarily.

Please add txt to the list of allowed values for sImportDataType in import_survey().

Steps To Reproduce
  • Send an import_survey request to RemoteControl having the sImportDataType parameter = "txt".
TagsNo tags attached.
Attached Files
tsv.json (40,653 bytes)
Bug heat6
Complete LimeSurvey version number (& build)130708
I will donate to the project if issue is resolvedNo
Browsern/a
Database type & versionmysql 5.5.31
Server OS (if known)Ubuntu 13.04
Webserver software & version (if known)nginx 1.2.6
PHP Version5.4.9

Users monitoring this issue

There are no users monitoring this issue.

Activities

blueimpb

blueimpb

2013-09-06 14:30

reporter   ~26168

I've attached a JSON-RPC request containing a TSV file ("txt") that should be possible to import through the RemoteControl API

trougakoss

trougakoss

2013-09-06 16:26

reporter   ~26172

Pull request sent

c_schmitz

c_schmitz

2013-09-29 15:27

administrator   ~26432

Version 2.00+ Build 130929 released

Related Changesets

LimeSurvey: master e2a45764

2013-09-25 20:40:23

c_schmitz

Details Diff
Merge pull request #122 from trougakoss/Yii

Bug fixes 8129, 8130
Affected Issues
08129, 08130
mod - application/controllers/admin/remotecontrol.php Diff File

Issue History

Date Modified Username Field Change
2013-09-04 21:00 blueimpb New Issue
2013-09-05 11:55 Mazi Assigned To => trougakoss
2013-09-05 11:55 Mazi Status new => assigned
2013-09-06 14:29 blueimpb File Added: tsv.json
2013-09-06 14:30 blueimpb Note Added: 26168
2013-09-06 16:26 trougakoss Note Added: 26172
2013-09-25 22:40 c_schmitz Status assigned => resolved
2013-09-25 22:40 c_schmitz Fixed in Version => 2.00+
2013-09-25 22:40 c_schmitz Resolution open => fixed
2013-09-25 22:41 c_schmitz Changeset attached => LimeSurvey master e2a45764
2013-09-29 15:27 c_schmitz Note Added: 26432
2013-09-29 15:27 c_schmitz Status resolved => closed