View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
17636Bug reportsOtherpublic2026-11-19 22:21
ReporterDenisChenu Assigned To 
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Summary17636: Need proper rules to disable duplicate qid+language
Description

Current rules don't disable duplicate qid,language in QuestionL10n
This surely broke some instllation at a moment (bad TSV imprort, lss import, try to update question and something broke etc …)

Steps To Reproduce

Steps to reproduce

No step : it's a Dev issue

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version
Git branch / Pull Request URLN/A

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2021-09-29 18:43

developer   ~66660

The rules is here :
https://github.com/LimeSurvey/LimeSurvey/blob/e716ff231cfce5132bd999cc54a0a7c2f5b9270f/application/models/Question.php#L101-L106

Must be done for all other 10n model.

c_schmitz

c_schmitz

2026-11-19 22:21

administrator   ~87668

In LimeSurvey 7 the QuestionL10n model validates that qid+language is unique (backed by the unique index idx1_question_ls), and the AnswerL10n and QuestionGroupL10n models have the same unique rule. Closing as fixed.

Issue History

Date Modified Username Field Change
2021-09-29 18:43 DenisChenu New Issue
2021-09-29 18:43 DenisChenu Note Added: 66660
2026-11-19 22:21 c_schmitz Note Added: 87668
2026-11-19 22:21 c_schmitz Bug heat 2 => 4
2026-11-19 22:21 c_schmitz Status new => closed
2026-11-19 22:21 c_schmitz Resolution open => fixed