View Issue Details

This bug affects 1 person(s).
IDProjectCategoryView StatusLast Update
19138Bug reportsSurvey editingpublic2023-10-26 13:02
Reporterbaltzis Assigned To 
Status newResolutionopen 
Product Version6.2.x 
Summary19138: Images not saved in label sets

In label sets, under "Title" the path to images are not saved, although they are loaded on the server (see attached screenshots before and after "Save").

Steps To Reproduce

Steps to reproduce

  1. Create a label set or open an existing one using "View labels" option
  2. Using the "Uploaded resources management" options, below the labels list, select "Images" and press "Browse uploaded resources"
  3. Upload some images (e.g. emoji custom icons) in the images section of the resources manager
  4. Return to the label sets list and under the "Title" column of any item, open the editor
  5. In the editor, select import image and then "Browse server". The KFC finder appears showing your uploaded images. Select any of them and press "OK" and "Confirm"
  6. Close the editor and in the respective field the image tag appears with the path and the file name (e.g. <img alt="" src="/upload/surveys/875427/images/01.gif" />).
  7. Select "Save" on the upper right corner

Expected result

The indicated path is saved in the respective item field, under "Title"

Actual result

The path is not saved. Instead it is always overwritten by the same incomplete code: <img alt=

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build) 6.2.9 build 230925
I will donate to the project if issue is resolvedNo
Database type & versionmysql, Database driver version mysqlnd 8.1.2-1ubuntu2.14
Server OS (if known)Linux 5.15.0-76-generic #83-Ubuntu SMP
Webserver software & version (if known)Apache/2.4.52 (Ubuntu)
PHP Version8.1.2-1ubuntu2.14

Users monitoring this issue





2023-09-29 10:10

reporter   ~77436

I forgot to mention that this bug does not appear when saving image paths in Questions (e.g. array questions). Perhaps this is a minor bug, however it is very annoying when you need to save a label set with images representing a scale, instead of words.



2023-10-26 10:53

developer   ~78033


cannot reproduce on latest master, can you test and check if this issue persists for you on latest?



2023-10-26 12:58

reporter   ~78039

Yes, it persist in the latest version (6.3.1, build 231023). Not only, that, but now I found out that I get the message "You don't have permission to browse the server". This is new and I don't know how to solve it.



2023-10-26 13:02

reporter   ~78040

Obviously, the permissions issue is new in the latest update, because there was no such a problem until the last update. This is how I found out the bug with the images not saved in label sets in the first place.

Issue History

Date Modified Username Field Change
2023-09-29 10:06 baltzis New Issue
2023-09-29 10:06 baltzis File Added: Before Save 2023-09-29 110503.png
2023-09-29 10:06 baltzis File Added: After Save 2023-09-29 110543.png
2023-09-29 10:10 baltzis Note Added: 77436
2023-09-29 10:10 baltzis Bug heat 0 => 2
2023-10-26 10:53 mfavetti Note Added: 78033
2023-10-26 10:53 mfavetti Bug heat 2 => 4
2023-10-26 10:53 mfavetti Issue Monitored: mfavetti
2023-10-26 10:53 mfavetti Bug heat 4 => 6
2023-10-26 12:58 baltzis Note Added: 78039
2023-10-26 13:02 baltzis Note Added: 78040