View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20470Bug reportsConditionspublic2026-03-27 14:08
Reporterdan24 Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status resolvedResolutionfixed 
Summary20470: Bad updates custom condition after import group if it is'nt defined in the question designer
Description

Hello,

In a question group, if one of the questions has a condition that isn't defined by the condition designer, then if you export the group and then import it, the question codes, which are correctly updated for the questions themselves, are not updated in the condition.
We are updating our instances from V3 to V6, and this worked in V3.
It's worth noting that importing/exporting correctly updates the condition if it is defined in the question designer.
Is this behavior intentional?

Best regards
Daniel

Steps To Reproduce

Create a group (G0)
Add a question yes/no (Q0)
Add another question (Q1) where you defined a custom condition ((Q0.NAOK == "Y"))

Now you export the group G0, an you import it, The question codes are correctly updated, but not in the custom condition

Is this behavior intentional because in V3 with the same steps the custom condition is correctly updated

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)6.14.2+250610 and test on the 6.16.13
I will donate to the project if issue is resolvedNo
Browserfirefox
Database type & versionMariadb V15.1
Server OS (if known)
Webserver software & version (if known)
PHP Version7.4

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-03-27 13:16

administrator   ~84548

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

dan24

dan24

2026-03-27 14:08

reporter   ~84550

Thank you for this correction.

Best regards
Daniel

Related Changesets

LimeSurvey: master 9ef92eff

2026-03-27 13:16

c_schmitz


Details Diff
Fixed issue 20470: On group import the question codes in custom conditions are not updated Affected Issues
20470
mod - application/helpers/admin/import_helper.php Diff File

Issue History

Date Modified Username Field Change
2026-03-20 16:04 dan24 New Issue
2026-03-27 12:57 c_schmitz View Status private => public
2026-03-27 12:57 c_schmitz Bug heat 6 => 0
2026-03-27 13:06 c_schmitz Assigned To => c_schmitz
2026-03-27 13:06 c_schmitz Status new => assigned
2026-03-27 13:16 c_schmitz Changeset attached => LimeSurvey master 9ef92eff
2026-03-27 13:16 c_schmitz Note Added: 84548
2026-03-27 13:16 c_schmitz Status assigned => resolved
2026-03-27 13:16 c_schmitz Resolution open => fixed
2026-03-27 13:16 c_schmitz Bug heat 0 => 2
2026-03-27 14:08 dan24 Note Added: 84550
2026-03-27 14:08 dan24 Bug heat 2 => 4