View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
03663Bug reportsOtherpublic2009-09-15 12:30
Reporterjelo Assigned Tolemeur  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.85+ 
Fixed in Version1.85+ 
Summary03663: SurveyID INSERTANS in ExitUrl isn't converted to new ID
Description

{INSERTANS:SurveyID_of_exported_SurveyX111X111}

Exiturls of quotas aren't converted either.

Convert resources links and INSERTANS fields is ticked in the import dialog.

Sidenote: The IDs used in javascript are untouched too. But this might be more a feature than a bug.

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)7561
I will donate to the project if issue is resolved
Browser
Database type & versionMySQL 5.0.81
Server OS (if known)CENTOS 4.8 i686
Webserver software & version (if known)Apache 1.3.41
PHP Version5.2.10

Relationships

related to 03611 closedlemeur Problem with INSERTANS-Conversion, if INSERTANS are use in Javascript code 

Users monitoring this issue

There are no users monitoring this issue.

Activities

jelo

jelo

2009-09-08 11:34

partner   ~09461

SurveyID,GroupID and QuestionID remain unchanged. SurveyID was just as an example.

Mazi

Mazi

2009-09-10 15:21

updater   ~09497

Can you add a small sample survey which we can use to reproduce the problem?

jelo

jelo

2009-09-10 20:54

partner   ~09510

SampleSurvey attached with the following parts to look for:

EndURL contains ?test={INSERTANS:62535X282X550}

End message contains {INSERTANS:62535X282X550}

When exporting and reimporting survey with option "Convert resources links and INSERTANS fields" ticked these INSERTANS stay the same.

Not sure if the fields "Welcome message" and "Description" ever need INSERTANS.
But it won't hurt to let the converting routine convert without exception.

Mazi

Mazi

2009-09-10 20:57

updater   ~09511

I can reproduce the problem.

lemeur

lemeur

2009-09-10 23:18

developer   ~09518

This has never been implemented, though it is not difficult to do so.

I agree to implement this for End-url and End-URL description. Other values can't have INSERTANS codes.

jelo

jelo

2009-09-10 23:44

partner   ~09521

What is meant by "other values cannot have INSERTANS" ?

I am not into the codebase yet. But isn't it possible to get the converting routine to convert every occurrence in every line of the survey? It would allow to really duplicate a survey via export/import without reediting and testing.

Cannot answer the question if it worth it to go the extra mile with Limesurvey on the horizon.

lemeur

lemeur

2009-09-11 22:44

developer   ~09536

Fixed in rev 7625.
Thanks for the report.

Issue History

Date Modified Username Field Change
2009-09-08 08:38 jelo New Issue
2009-09-08 08:38 jelo Status new => assigned
2009-09-08 08:38 jelo Assigned To => user372
2009-09-08 08:38 jelo Build Number => 7561
2009-09-08 08:38 jelo Database & DB-Version => MySQL 5.0.81
2009-09-08 08:38 jelo Operating System (Server) => CENTOS 4.8 i686
2009-09-08 08:38 jelo Webserver => Apache 1.3.41
2009-09-08 08:38 jelo PHP Version => 5.2.10
2009-09-08 11:34 jelo Note Added: 09461
2009-09-10 15:20 Mazi Relationship added related to 03611
2009-09-10 15:21 Mazi Note Added: 09497
2009-09-10 15:21 Mazi Status assigned => feedback
2009-09-10 20:54 jelo Note Added: 09510
2009-09-10 20:54 jelo File Added: convert_survey_id_62535.csv
2009-09-10 20:57 Mazi Note Added: 09511
2009-09-10 20:58 Mazi Status feedback => assigned
2009-09-10 20:58 Mazi Assigned To user372 => lemeur
2009-09-10 23:18 lemeur Note Added: 09518
2009-09-10 23:18 lemeur Status assigned => acknowledged
2009-09-10 23:44 jelo Note Added: 09521
2009-09-11 22:44 lemeur Note Added: 09536
2009-09-11 22:44 lemeur Status acknowledged => resolved
2009-09-11 22:44 lemeur Fixed in Version => 1.85+
2009-09-11 22:44 lemeur Resolution open => fixed
2009-09-15 12:30 c_schmitz Status resolved => closed
2010-05-06 10:27 c_schmitz Category Import / Export => (No Category)