View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
20412Bug reportsDatabase designpublic2026-01-30 16:22
Reporterzufolo441 Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Summary20412: Subquestion field names in LS 7.0 Beta 1
Description

Hi, maybe there is some problem in field naming. I read in https://www.limesurvey.org/manual/LimeSurvey_7_Fieldname_Refactor that subquestion
are renamed Q<questionId>_S<subquestionId> , but in my test DB names are: Q<questionId>_S<questionId+subquestionId> .
Please see screenshot.
Question 2453 has answers with code 1~13.
Question 2435 is even more curious. has answers with code 1~9

Steps To Reproduce

Steps to reproduce

(Replace this text with detailed step-by-step instructions on how to reproduce the issue)

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Attached Files
ls7.png (385,334 bytes)
ls7_Q2435.png (68,988 bytes)   
ls7_Q2435.png (68,988 bytes)   
ls7_Q2453.png (103,859 bytes)
Bug heat6
Complete LimeSurvey version number (& build)7.0 beta 1
I will donate to the project if issue is resolvedNo
BrowserFirefox 147
Database type & versionPostgreSQL 17.7
Server OS (if known)RHEL 9
Webserver software & version (if known)
PHP Version8.2

Users monitoring this issue

DenisChenu

Activities

zufolo441

zufolo441

2026-01-30 15:12

reporter   ~84151

Stop. I just understand the logic. it is not the "title" field but "qid" of subquestion.
So, in v7, how does the answers restore works?

zufolo441

zufolo441

2026-01-30 15:26

reporter   ~84152

I've just done a test. if I delete a subquestion ad I recreate with same code (title), it doesn't restore data from oldresponses$sid_$timestamp. In my opinion it's a bit problematic.

DenisChenu

DenisChenu

2026-01-30 16:11

developer   ~84153

I've just done a test. if I delete a subquestion ad I recreate with same code (title), it doesn't restore data from oldresponses$sid_$timestamp. In my opinion it's a bit problematic.

If you do same in 6.X and it work: yes, it's problematic. Must be reported separately.

(I think we try to use Expression Code for column names in 7.X or 8.X, I don't really understand the interest here.)

zufolo441

zufolo441

2026-01-30 16:20

reporter   ~84154

in v6 it works, because code is part of the field name....
in screenshot you can see fields for subquestion of question 2453. If I delete and recreate a subquestion with code "13" I obtain the same field name and I can restore field values.

ls6_fields.png (181,985 bytes)
DenisChenu

DenisChenu

2026-01-30 16:22

developer   ~84155

in v6 it works, because code is part of the field name....

Then it's clearly an issue : no question here !

Issue History

Date Modified Username Field Change
2026-01-30 13:16 zufolo441 New Issue
2026-01-30 13:16 zufolo441 File Added: ls7.png
2026-01-30 13:16 zufolo441 File Added: ls7_Q2435.png
2026-01-30 13:16 zufolo441 File Added: ls7_Q2453.png
2026-01-30 15:12 zufolo441 Note Added: 84151
2026-01-30 15:12 zufolo441 Bug heat 0 => 2
2026-01-30 15:26 zufolo441 Note Added: 84152
2026-01-30 16:09 DenisChenu Issue Monitored: DenisChenu
2026-01-30 16:09 DenisChenu Bug heat 2 => 4
2026-01-30 16:11 DenisChenu Note Added: 84153
2026-01-30 16:11 DenisChenu Bug heat 4 => 6
2026-01-30 16:20 zufolo441 Note Added: 84154
2026-01-30 16:20 zufolo441 File Added: ls6_fields.png
2026-01-30 16:22 DenisChenu Note Added: 84155