View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|08647||Bug reports||[All Projects] Survey design||public||2014-01-31 16:08||2014-02-03 08:58|
|Target Version||Fixed in Version|
|Summary||08647: Disfunctional Relevance Equation with "Equation" question type and $deletenonvalues = 0|
If $deletenonvalues is set to 0 in /application/config/config-defaults.php the relevance equation of "Equation" question types doesn't seem to work. The equation is always evaluated even if the question is irrelevant and hence the question not shown in the survey.
The result are values like "0" or "NAN" in the database were they should be NULLED. Furthermore, values that were onces saved are deleted (set to "0" or "NAN") where they should be preserved when the question becomes irrelevant afterwards (the reason to deactivate $deletenonvalues).
Steps to reproduce:
|Tags||No tags attached.|
|Complete LimeSurvey version number (& build)|
|I will donate to the project if issue is resolved|
|Database & DB-Version|
|Server OS (if known)|
|Webserver software & version (if known)|
test_relevance_equation.lss (13,467 bytes)
Which version and build are you using?
Version 2.05+ Build 140125
Sorry for not having indicated it. Also, here is the corresponding forum threat:
@jonaskoeppel : you can give a try to this plugin : https://github.com/Shnoulle/LS-recomputeExpression
Thanks a lot Denis! But it doesn't seem to work. I activated the plug-in but nothing changes. Do I have to do anything else than activating it?
1st : go to Plugin config and set "According to deletenonvalue" at Validate all relevance for question, and null value if needed (I have to update it, it must be the dafault)
No new button, unfortunately ... It should in the "Display responses" menu, right?
On examining the issue I cannot really say it is a bug but by design.
I am currently hesitant to change this as it could have unforeseen consequences - some user may even want this behaviour.
|2014-01-31 16:08||jonaskoeppel||New Issue|
|2014-01-31 16:08||jonaskoeppel||File Added: test_relevance_equation.lss|
|2014-02-01 13:47||DenisChenu||Project||Feature requests => Bug reports|
|2014-02-01 15:52||c_schmitz||Note Added: 28372|
|2014-02-01 15:52||c_schmitz||Assigned To||=> c_schmitz|
|2014-02-01 15:52||c_schmitz||Status||new => feedback|
|2014-02-01 16:22||jonaskoeppel||Note Added: 28375|
|2014-02-01 16:22||jonaskoeppel||Status||feedback => assigned|
|2014-02-01 18:20||DenisChenu||Note Added: 28382|
|2014-02-01 18:21||DenisChenu||Note Edited: 28382||View Revisions|
|2014-02-01 19:02||jonaskoeppel||Note Added: 28383|
|2014-02-01 19:22||DenisChenu||Note Added: 28385|
|2014-02-01 19:39||jonaskoeppel||Note Added: 28386|
|2014-02-03 08:58||c_schmitz||Note Added: 28420|
|2014-02-03 08:58||c_schmitz||Status||assigned => closed|
|2014-02-03 08:58||c_schmitz||Resolution||open => won't fix|