View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
06893Bug reportsImport/Exportpublic2012-11-20 13:19
Reporterdholeman Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Fixed in Version2.00+ 
Summary06893: Image path malformed on import of survey structure
Description

When a survey structure is saved as an lss file the path of embedded images that had been uploaded using the Limesurvey editor (ie, placed in the /upload folder) are changed to include the extraneous string: "/index.php" as follows

Before export:
<img alt="" src="/survey_200/upload/surveys/751489/images/climber_size.png" style="width: 419px; height: 100px;" />

As exported within lss file:
<img alt="" src="/survey_200/upload/surveys/751489/images/climber_size.png" style="width: 419px; height: 100px;" />

Imported incorrectly as:
<img alt="" src="/survey_200/index.php/upload/surveys/256876/images/climber_size.png" style="width: 419px; height: 100px;"

Corrected:
<img alt="" src="/survey_200/upload/surveys/256876/images/climber_size.png" style="width: 419px; height: 100px;" />

I did not check to see if exporting only the question (not a complete survey) caused the same problem.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)121117
I will donate to the project if issue is resolvedNo
BrowserFirefox
Database type & version5.0.96
Server OS (if known)Linux kernel 2.6.18-374.el5.lve0...
Webserver software & version (if known)Apache 2.2.21
PHP Version5.2.17

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-11-18 18:27

administrator   ~22303

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

c_schmitz

c_schmitz

2012-11-18 18:51

administrator   ~22307

Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10352

Related Changesets

LimeSurvey: master 08600cda

2012-11-18 18:26

c_schmitz


Details Diff
Fixed issue 06893: Image path malformed on import of survey structure Affected Issues
06893
mod - application/helpers/common_helper.php Diff File

LimeSurvey: 2.1 96965a31

2012-11-18 18:26

c_schmitz


Details Diff
Fixed issue 06893: Image path malformed on import of survey structure Affected Issues
06893
mod - application/helpers/common_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-11-17 07:39 dholeman New Issue
2012-11-18 18:23 c_schmitz Assigned To => c_schmitz
2012-11-18 18:23 c_schmitz Status new => assigned
2012-11-18 18:27 c_schmitz Status assigned => resolved
2012-11-18 18:27 c_schmitz Fixed in Version => 2.00+
2012-11-18 18:27 c_schmitz Resolution open => fixed
2012-11-18 18:27 c_schmitz Changeset attached => LimeSurvey master 08600cda
2012-11-18 18:27 c_schmitz Note Added: 22303
2012-11-18 18:51 c_schmitz Changeset attached => LimeSurvey 2.1 96965a31
2012-11-18 18:51 c_schmitz Note Added: 22307
2012-11-20 13:19 c_schmitz Status resolved => closed