Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
16520Bug reportsConditionspublic2020-08-03 11:55
Reportergabrieljenik Assigned To 
Status closedResolutionfixed 
Product Version3.22.27 
Summary16520: For specific screen navigation, condition is not saved properly

For specific screen navigation, condition is not saved properly
That could lead to a situation where:

  • After updating an answer option,
  • The related condition doesn't get updated
  • The condition uses an answer option code which doesn't exists
Steps To Reproduce

1 - Create a survey with 2 questions

  • Q1: List. Options Y, N, Maybe
  • Q2: Short Free Text

2 - Add the following condition on Q2
Q1 = Y

3 - Update Q1. Set answer option code for Y to be different.

4 - Condition on Q2 hasn't been updated and it is using the wrong answer option code.

Additional Information

Detected while reviewing 15945

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.22.27
I will donate to the project if issue is resolvedNo
Database & DB-VersionMysql
Server OS (if known)
Webserver software & version (if known)
PHP Versionphp


related to 16519 closed For specific screen navigation, condition is not saved properly 




2020-07-28 02:10

partner   ~59111

Resetting cqid when using token fields




2020-07-30 11:22

manager   ~59202

Tested the issue before pulling the PR, Issue does not exist. I see the Answer option code being updated properly after making the changes but I see the commit done.
Please refer the attachment for more details



2020-07-30 16:03

manager   ~59216

The above issue was shown because I was committed to only one branch and checking. Checked the issue with Dorin with all the branches committed for Condition designer and working as expected.



2020-07-30 16:12

partner   ~59217

Tested the issue before pulling the PR, Issue does not exist.
Were you able to finally reproduce the issue?



2020-07-30 16:18

manager   ~59219

Issue does not exist in Lime Survey-3.22.27, same with Dorin as well but issue exist in Limesurvey-4


2020-07-30 17:26


Fix committed to 3.x-LTS branch:



2020-07-30 20:32

partner   ~59228

Last edited: 2020-07-30 20:33

View 2 revisions

Reproducing the issue



2020-08-03 11:55

administrator   ~59260

Fixed in Release 3.22.210+200804

Related Changesets

LimeSurvey: 3.x-LTS 892314b7

2020-07-28 02:08:02


Committer: user231563 Details Diff
Fixed issue 16520: For specific screen navigation, condition is not saved properly

Resetting cqid when using token fields
Affected Issues
mod - application/controllers/admin/conditionsaction.php Diff File
mod - assets/scripts/admin/conditions.js Diff File

Issue History

Date Modified Username Field Change
2020-07-22 17:15 gabrieljenik New Issue
2020-07-22 17:15 gabrieljenik Issue generated from: 16519
2020-07-22 17:15 gabrieljenik Relationship added related to 16519
2020-07-22 17:24 sushmanadendla Status new => confirmed
2020-07-28 02:10 gabrieljenik Note Added: 59111
2020-07-29 16:22 swendrich Status confirmed => resolved
2020-07-29 16:22 sushmanadendla Status resolved => confirmed
2020-07-30 11:22 sushmanadendla Note Added: 59202
2020-07-30 11:22 sushmanadendla File Added: 16520_Beforepulling_PR.png
2020-07-30 16:03 sushmanadendla Note Added: 59216
2020-07-30 16:12 gabrieljenik Note Added: 59217
2020-07-30 16:18 sushmanadendla Note Added: 59219
2020-07-30 17:26 user231563 Changeset attached => LimeSurvey 3.x-LTS 892314b7
2020-07-30 17:26 user231563 Note Added: 59225
2020-07-30 20:32 gabrieljenik Note Added: 59228
2020-07-30 20:33 gabrieljenik Note Edited: 59228 View Revisions
2020-08-03 11:55 lime_release_bot Note Added: 59260
2020-08-03 11:55 lime_release_bot Status confirmed => closed
2020-08-03 11:55 lime_release_bot Resolution open => fixed