View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
07640Bug reportsRemoteControlpublic2013-03-11 15:03
Reporterjuicy Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary07640: Question Groups (.lsg) Import not working properly - via Remote Control 2 API
Description

The tag <group_order><![CDATA[0]]></group_order> should count up as a new group is imported via Remote Control 2 API. Now it stays at zero, with the consequences that you are only able to access the first group in the survey and when you pull the next button it stays with the first group.

I've a workaround for this to amend the group order of the second, third etc. group after importing:

$gid1 = $myJSONRPCClient->import_group( $Session_Key, $Survey_ID, $ImportData1, $GroupDescription );

$myJSONRPCClient->set_group_properties( $Session_Key, $gid1, array('group_order'=> $counter) );

But nevertheless, it seems as a bug to me .

Juicy

Steps To Reproduce

Question groups (.lsg) are generated via Excel with VBA UTF-8 exporting feature (I replace the BOM). I import more than 20 question groups in one run, PHP Server, Linux environment. The after files I exported out of Limesurvey AFTER importing it from Remote Control 2 API.

Additional Information

Many thanks in advance...

Here to grab the example files:

http://www.limesurvey.org/de/forum/german-forum/92732-fragengruppen-import-mit-remotecontrol-2-api-bug

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)130219
I will donate to the project if issue is resolvedYes
BrowserGoogle Chrome
Database type & versionMySQL
Server OS (if known)Linux Fedora 14
Webserver software & version (if known)PHP
PHP Versionnewer one

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2013-03-06 11:17

administrator   ~24565

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

c_schmitz

c_schmitz

2013-03-07 22:39

administrator   ~24577

Fix committed to 2.05 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=11797

c_schmitz

c_schmitz

2013-03-11 15:03

administrator   ~24623

2.00+ build 130311 released

Related Changesets

LimeSurvey: master f36d3e43

2013-03-06 10:17:15

c_schmitz

Details Diff
Fixed issue 07640: Group order not properly set when importing question groups by RemoteControl Affected Issues
07640
mod - application/helpers/admin/import_helper.php Diff File

LimeSurvey: 2.05 9da71149

2013-03-06 10:17:15

c_schmitz

Details Diff
Fixed issue 07640: Group order not properly set when importing question groups by RemoteControl Affected Issues
07640
mod - application/helpers/admin/import_helper.php Diff File

Issue History

Date Modified Username Field Change
2013-03-06 08:11 juicy New Issue
2013-03-06 11:15 c_schmitz Assigned To => c_schmitz
2013-03-06 11:15 c_schmitz Status new => assigned
2013-03-06 11:15 c_schmitz Status assigned => resolved
2013-03-06 11:15 c_schmitz Fixed in Version => 2.00+
2013-03-06 11:15 c_schmitz Resolution open => fixed
2013-03-06 11:17 c_schmitz Changeset attached => LimeSurvey master f36d3e43
2013-03-06 11:17 c_schmitz Note Added: 24565
2013-03-07 22:39 c_schmitz Changeset attached => LimeSurvey 2.05 9da71149
2013-03-07 22:39 c_schmitz Note Added: 24577
2013-03-11 15:03 c_schmitz Note Added: 24623
2013-03-11 15:03 c_schmitz Status resolved => closed