View Issue Details

This issue affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
17200Bug reportsExpression Managerpublic2026-10-08 13:02
ReporterDenisChenu Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status resolvedResolutionfixed 
Product Version3.25.19 
Summary17200: Warning about usage of same code are not clear in Survey logic file
Description

When same code is used twice : warning are not shown

Steps To Reproduce

Import included lsa
Check survey logic file : seems OK
Check title of the 3 end question : see warning

Additional Information

2.6lts screenshot for compare

Expression Manager logic broken if some question have same code/title.

TagsNo tags attached.
Attached Files
Bug heat10
Complete LimeSurvey version number (& build)3.25.18
I will donate to the project if issue is resolvedNo
Browsernot relevant ?
Database type & versionnot relevant?
Server OS (if known)not relevant ?
Webserver software & version (if known)not relevant ?
PHP Versionnot relevant ?

Relationships

related to 17199 resolvedc_schmitz Import group alllow same question code 
has duplicate 15035 resolvedc_schmitz Lost expression manager alert about deprecated question code 
related to 17256 closedgabrieljenik No warning about adjusted question codes is shown when importing a group which holds questions with already used question codes 

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-10-08 00:07

administrator   ~86258

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

Related Changesets

LimeSurvey: master dac1c077

2026-10-08 00:06

c_schmitz


Details Diff
Fixed issue 17200: Survey logic file reported no errors although question codes were used more than once
Dev Duplicate variable names were only counted as hidden warnings when SGQA naming was active (default), now always counted as errors
Affected Issues
17200
mod - application/helpers/expressions/em_manager_helper.php Diff File
add - tests/data/surveys/limesurvey_survey_17200_duplicate_codes.lss Diff File
add - tests/unit/helpers/SurveyLogicFileDuplicateCodeTest.php Diff File

Issue History

Date Modified Username Field Change
2021-03-23 10:36 DenisChenu New Issue
2021-03-23 10:36 DenisChenu File Added: survey_archive_679439.lsa
2021-03-23 10:36 DenisChenu File Added: Capture d’écran_2021-03-23_10-33-05.png
2021-03-23 10:36 DenisChenu Relationship added related to 17199
2021-04-20 06:37 DenisChenu Relationship added related to 17256
2026-10-08 00:07 c_schmitz Changeset attached => LimeSurvey master dac1c077
2026-10-08 00:07 c_schmitz Note Added: 86258
2026-10-08 00:07 c_schmitz Assigned To => c_schmitz
2026-10-08 00:07 c_schmitz Status new => resolved
2026-10-08 00:07 c_schmitz Resolution open => fixed
2026-10-08 00:07 c_schmitz Bug heat 0 => 2
2026-10-08 13:02 c_schmitz Relationship added has duplicate 15035
2026-10-08 13:02 c_schmitz Bug heat 2 => 10