View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20636Bug reportsDatabase designpublic2026-08-06 13:30
Reportershouri75 Assigned Totibor.pacalat  
PrioritynoneSeverityminor 
Status closedResolutionwon't fix 
Product Version7.0.x 
Summary20636: Ranking type question save answers in a single database column
Description

All answer codes are stored in a single combined text string, each rounded by " and separated by comma, instead of creating a separate database column for each rank position, even though "Maximum columns for ranking (max_subquestions)" is set to the total number of answer options the question contains

Steps To Reproduce

Steps to reproduce

Create a survey
Add a rank type question with 71 possible choices
Set "Maximum columns for ranking (max_subquestions)" to 71
Activate survey
Answer survey

Expected result

71 separated database columns, one for each rank position

Actual result

A single column containing combined text string

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build) 7.0.7+260729
I will donate to the project if issue is resolvedNo
Story point estimate0
BrowserGoogle Chrome
Database type & versionMariaDB 10.11.18
Server OS (if known)
Webserver software & version (if known)nginx/1.30.4
PHP Version8.4.22

Users monitoring this issue

shouri75

Activities

tibor.pacalat

tibor.pacalat

2026-08-06 12:48

administrator   ~85377

Last edited: 2026-08-06 13:30

We changed the column type of ranking question responses to JSON. Maximum columns for answers is obsolete and need to be removed. I have created a task internally to do this.

Issue History

Date Modified Username Field Change
2026-08-06 10:03 shouri75 New Issue
2026-08-06 10:06 shouri75 Issue Monitored: shouri75
2026-08-06 10:06 shouri75 Bug heat 0 => 2
2026-08-06 12:48 tibor.pacalat Note Added: 85377
2026-08-06 12:48 tibor.pacalat Bug heat 2 => 4
2026-08-06 13:30 tibor.pacalat Note Edited: 85377
2026-08-06 13:30 tibor.pacalat Assigned To => tibor.pacalat
2026-08-06 13:30 tibor.pacalat Status new => closed
2026-08-06 13:30 tibor.pacalat Resolution open => won't fix