View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
08647 | Bug reports | Survey editing | public | 2014-01-31 16:08 | 2014-02-03 08:58 |
Reporter | jonaskoeppel | Assigned To | c_schmitz | ||
Priority | normal | Severity | feature | ||
Status | closed | Resolution | won't fix | ||
Summary | 08647: Disfunctional Relevance Equation with "Equation" question type and $deletenonvalues = 0 | ||||
Description | 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. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
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 | |||||
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: http://www.limesurvey.org/en/forum/design-issues/95854-relevance-equation-of-equation-question-type |
|
@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? |
|
Hi, 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. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
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 | |
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-02 12:34 | jonaskoeppel | Issue Monitored: jonaskoeppel | |
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 |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |
2021-08-10 01:24 | guest | Bug heat | 6 => 8 |