View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
05493Bug reportsImport/Exportpublic2012-03-14 21:08
Reporterlemeur Assigned Tolemeur  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91+ 
Target Version1.91+Fixed in Version1.91+ 
Summary05493: In conditions values using previous answers (coded as @sgqa@) aren't translated when survey is imported
Description

When a survey structure contains conditions comparing 2 previous answers, the value of the condition uses a specific notation like @sgqa@ to refer to the right operand previous answer.

This code isn't translated using the enw SID, GID, QID at import time.

This was working in the past (see importsurvey.php rev 9276 on line 1587).

This piece of code was simply "lost" in the new import_functions.php ??

The translation of @sgqa@ codes require the use of the "aOldNewFieldmap" array which is now set at the end of the import section and not when importing conditions.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)11107
I will donate to the project if issue is resolvedNo
Browser
Database type & versionna
Server OS (if known)na
Webserver software & version (if known)na
PHP Versionna

Users monitoring this issue

There are no users monitoring this issue.

Activities

lemeur

lemeur

2011-10-05 22:16

developer   ~16374

Fixed in rev 11108

Related Changesets

LimeSurvey: Yii 9ec943e1

2011-10-05 13:23:04

lemeur

Details Diff
Fixed issue 05493: Conditions using previous answers (coded as @sgqa@) aren't translated when survey is imported.

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

Issue History

Date Modified Username Field Change
2011-10-05 22:06 lemeur New Issue
2011-10-05 22:07 lemeur Assigned To => lemeur
2011-10-05 22:07 lemeur Status new => assigned
2011-10-05 22:16 lemeur Note Added: 16374
2011-10-05 22:16 lemeur Status assigned => resolved
2011-10-05 22:16 lemeur Fixed in Version => 1.91+
2011-10-05 22:16 lemeur Resolution open => fixed
2011-10-08 22:18 c_schmitz Status resolved => closed
2012-03-14 21:08 lemeur Changeset attached => Import 2012-03-09 13:30:34 Yii 9ec943e1