View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
19769Bug reportsDocumentationpublic2025-05-06 11:54
Reporterlozam Assigned Totibor.pacalat  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Summary19769: Bad image helper
Description

In LimeSurvey, when adding or configuring a question, a dialog box opens to choose the question type. Illustrative images are associated with each question type to aid in selection.

For certain questions, the images associated with the following question types do not match the selected question type. (Note: this ticket does not concern the localization and translation of the software on this topic).
This is a minor bug that needs to be corrected in the LimeSurvey main branch to ensure a lasting fix. A patch is not requested.

Steps To Reproduce

List of affected question types:
1) Advanced Ranking
While this question type involves the ranking of images:
https://manual.limesurvey.org/Question_types#Advanced_Ranking_(new_in_5.x)

2) Multiple-choice image selection
Displays help for 'Multiple Choice' instead of showing image choices.

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)6.5.18
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5
Server OS (if known)
Webserver software & version (if known)
PHP Versionphp 8.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2025-03-25 08:56

developer   ~82312

https://github.com/LimeSurvey/LimeSurvey/pull/4201

tibor.pacalat

tibor.pacalat

2025-03-31 15:55

administrator   ~82347

@DenisChenu did you test this when you were doing code review? For some reason I still see old images and not the ones from the fix. Any idea?

DenisChenu

DenisChenu

2025-04-01 09:45

developer   ~82353

did you test this when you were doing code review

Not this time

DenisChenu

DenisChenu

2025-04-01 09:46

developer   ~82354

For some reason I still see old images and not the ones from the fix. Any idea?

It's for installation only here ...

We need update DB value when upgrade

tibor.pacalat

tibor.pacalat

2025-04-02 13:53

administrator   ~82363

Can you do this as part of this ticket @DenisChenu?

DenisChenu

DenisChenu

2025-04-02 15:18

developer   ~82364

Testing ?

The update is done in last version https://github.com/LimeSurvey/LimeSurvey/pull/4201/files#diff-965a4b885e48e38571dff4e959b510918978fa0f45d2212b4c573a69e1dcab50

By the original devloper.

tibor.pacalat

tibor.pacalat

2025-04-07 13:20

administrator   ~82379

Last edited: 2025-04-07 13:20

@DesniChenu I have switched to this branch and installed fresh LimeSurvey and I still see old images.

I was referring to

It's for installation only here ...
We need update DB value when upgrade

DenisChenu

DenisChenu

2025-04-07 18:02

developer   ~82386

OK,
I check and fix/update

DenisChenu

DenisChenu

2025-04-09 12:36

developer   ~82400

@tibor.pacalat : can you check again ?
I test and create a PR https://github.com/HaroWana/LimeSurvey/pull/1/files

tibor.pacalat

tibor.pacalat

2025-04-16 16:55

administrator   ~82431

@DenisChenu can you check the new PR https://github.com/LimeSurvey/LimeSurvey/pull/4242?
@jlorber there are some conflicts, please resolve those.

guest

guest

2025-04-30 15:34

viewer   ~82546

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

LimeBot

LimeBot

2025-05-06 11:54

administrator   ~82583

Fixed in Release 6.13.2+250506

Related Changesets

LimeSurvey: master c5c11abc

2025-04-30 15:34

HaroWana

Committer: GitHub


Details Diff
Fixed issue 19769: Duplicate question type images (04242)

Co-authored-by: Carsten Schmitz <carsten.schmitz@limesurvey.org>
Affected Issues
19769
mod - application/config/version.php Diff File
mod - application/controllers/QuestionAdministrationController.php Diff File
mod - application/core/LsDefaultDataSets.php Diff File
add - application/helpers/update/updates/Update_630.php Diff File
mod - assets/images/screenshots/S.png Diff File
add - themes/question/browserdetect/survey/questions/answer/shortfreetext/assets/browserdetect.png Diff File
add - themes/question/image_select-listradio/survey/questions/answer/listradio/assets/image_select_listradio.png Diff File
add - themes/question/image_select-multiplechoice/survey/questions/answer/multiplechoice/assets/image_select_multiplechoice.png Diff File
add - themes/question/inputondemand/survey/questions/answer/multipleshorttext/assets/inputondemand.png Diff File
add - themes/question/ranking_advanced/survey/questions/answer/ranking/assets/advanced_ranking.png Diff File

Issue History

Date Modified Username Field Change
2024-09-26 09:55 lozam New Issue
2025-03-14 14:33 jlorber Assigned To => jlorber
2025-03-14 14:33 jlorber Status new => assigned
2025-03-25 08:56 DenisChenu Assigned To jlorber => DenisChenu
2025-03-25 08:56 DenisChenu Status assigned => in code review
2025-03-25 08:56 DenisChenu Note Added: 82312
2025-03-25 08:56 DenisChenu Bug heat 0 => 2
2025-03-31 15:55 tibor.pacalat Note Added: 82347
2025-03-31 15:55 tibor.pacalat Bug heat 2 => 4
2025-04-01 09:45 DenisChenu Note Added: 82353
2025-04-01 09:46 DenisChenu Note Added: 82354
2025-04-01 09:58 DenisChenu Assigned To DenisChenu =>
2025-04-01 09:59 DenisChenu Assigned To => DenisChenu
2025-04-02 12:30 DenisChenu Assigned To DenisChenu => tibor.pacalat
2025-04-02 12:30 DenisChenu Status in code review => ready for testing
2025-04-02 13:53 tibor.pacalat Note Added: 82363
2025-04-02 15:18 DenisChenu Note Added: 82364
2025-04-07 13:20 tibor.pacalat Note Added: 82379
2025-04-07 13:20 tibor.pacalat Note Edited: 82379
2025-04-07 18:02 DenisChenu Note Added: 82386
2025-04-07 18:02 DenisChenu Assigned To tibor.pacalat => DenisChenu
2025-04-09 12:35 DenisChenu Assigned To DenisChenu => tibor.pacalat
2025-04-09 12:36 DenisChenu Note Added: 82400
2025-04-16 16:55 tibor.pacalat Note Added: 82431
2025-04-30 15:34 Changeset attached => LimeSurvey master c5c11abc
2025-04-30 15:34 guest Note Added: 82546
2025-04-30 15:34 guest Bug heat 4 => 6
2025-04-30 15:37 tibor.pacalat Status ready for testing => resolved
2025-04-30 15:37 tibor.pacalat Resolution open => fixed
2025-05-06 11:54 LimeBot Note Added: 82583
2025-05-06 11:54 LimeBot Status resolved => closed
2025-05-06 11:54 LimeBot Bug heat 6 => 8