View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
04979Bug reportsSurvey editingpublic2011-03-10 12:28
ReporterMazi Assigned Tolemeur  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.90+ 
Target Version1.91RC5Fixed in Version1.91RC5 
Summary04979: Problem when transferring survey with embedded pictures from system A to system B
Description

When using the integrated editor to embedd pictures, these are uploaded at /upload/surveys/<surveyid>. Once you want to port a survey from system A to system B using survey expiort/import, there is a problem. You can manually transfer the files from /upload/surveys/<surveyid> using FTP but the image source will be wrong.

Image system a is located at
http://www.yourdomain.org/ls190
and system B at
http://localhost/limeSOURCE/limesurvey_current

If you take a look at the source, the images you added are referenced like:
<img src="/ls190/upload/surveys/76152/myimage.png" />

After having imported the survey to system B the image won't load because it is still using src="/ls190/upload/surveys/76152/myimage.png".

Would it be possible to change the "src" part that is added by the editor so that the folder name will be ignored e.g. at system A the source becomes:
src="/upload/surveys/76152/myimage.png" -> no "ls190" folder name?

This way transferring surveys would be much easier and you won't have to correct each image referenced at your survey.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)9715
I will donate to the project if issue is resolvedNo
BrowserFirefox 3.6
Database type & versionMySQL 5
Server OS (if known)Win 7
Webserver software & version (if known)Apache 2.2
PHP Version5.3.1

Users monitoring this issue

There are no users monitoring this issue.

Activities

lemeur

lemeur

2011-03-08 16:06

developer   ~14340

Fixed in rev 9862 and 9863.

c_schmitz

c_schmitz

2011-03-10 12:28

administrator   ~14374

1.91RC5 released.

Issue History

Date Modified Username Field Change
2011-02-23 16:23 Mazi New Issue
2011-02-23 16:23 Mazi Status new => assigned
2011-02-23 16:23 Mazi Assigned To => lemeur
2011-03-08 16:06 lemeur Note Added: 14340
2011-03-08 16:06 lemeur Status assigned => resolved
2011-03-08 16:06 lemeur Fixed in Version => 1.91RC5
2011-03-08 16:06 lemeur Resolution open => fixed
2011-03-10 12:28 c_schmitz Note Added: 14374
2011-03-10 12:28 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing