View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
07051Bug reportsSurvey editingpublic2012-12-09 20:20
Reportermfaber Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary07051: Images uploaded in HTML editor ends up in wrong directory
Description

on image upload in HTML editor, images (e.g. "test.jpg" are renamed to "images(1)" and put into directory "\limesurvey\upload\surveys[survey ID]". (see steps to reproduce)

field "URL" on 1st tab of HTML editor is prefilled with "\limesurvey\upload\surveys[survey ID]\IMAGES"

So, the image is then not displayed in the survey because it resides in the different directory. Path needs to be updated manually or the image moved.

It seems the image should be uploaded to the image directory. And shouldn't the filename be kept as well (so "test.jpg" instead of "images(1)")?

Steps To Reproduce

choose any survey
edit texts e.g. "welcome message"
click on "upload image" icon in HTML editor
change to tab "upload"
press button "choose file"
choose an image (e.g. test.jpg)
upload

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)121208
I will donate to the project if issue is resolvedNo
Browsermaxthon
Database type & versionmysql
Server OS (if known)win 7 pro
Webserver software & version (if known)appache
PHP Versionphp

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-12-09 15:57

administrator   ~23036

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

c_schmitz

c_schmitz

2012-12-09 16:29

administrator   ~23039

2.00+ Build 121209 released

c_schmitz

c_schmitz

2012-12-09 20:20

administrator   ~23058

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

Related Changesets

LimeSurvey: master c27fe6cd

2012-12-09 15:57

c_schmitz


Details Diff
Fixed issue 07051: Images uploaded in HTML editor end up in wrong directory on Windows Affected Issues
07051
mod - third_party/kcfinder/core/browser.php Diff File
mod - third_party/kcfinder/core/uploader.php Diff File

LimeSurvey: 2.1 348e8de2

2012-12-09 15:57

c_schmitz


Details Diff
Fixed issue 07051: Images uploaded in HTML editor end up in wrong directory on Windows Affected Issues
07051
mod - third_party/kcfinder/core/browser.php Diff File
mod - third_party/kcfinder/core/uploader.php Diff File

Issue History

Date Modified Username Field Change
2012-12-08 17:02 mfaber New Issue
2012-12-09 15:57 c_schmitz Assigned To => c_schmitz
2012-12-09 15:57 c_schmitz Status new => assigned
2012-12-09 15:57 c_schmitz Status assigned => resolved
2012-12-09 15:57 c_schmitz Fixed in Version => 2.00+
2012-12-09 15:57 c_schmitz Resolution open => fixed
2012-12-09 15:57 c_schmitz Changeset attached => LimeSurvey master c27fe6cd
2012-12-09 15:57 c_schmitz Note Added: 23036
2012-12-09 16:29 c_schmitz Note Added: 23039
2012-12-09 16:29 c_schmitz Status resolved => closed
2012-12-09 20:20 c_schmitz Changeset attached => LimeSurvey 2.1 348e8de2
2012-12-09 20:20 c_schmitz Note Added: 23058
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing