View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
08137 | Bug reports | Expression Manager | public | 2013-09-07 17:41 | 2013-09-23 13:27 |
Reporter | iquito | Assigned To | c_schmitz | ||
Priority | normal | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00+ | ||||
Fixed in Version | 2.00+ | ||||
Summary | 08137: Relevance equation incorrectly saved for questions | ||||
Description | When manually setting a relevance equation for a question (not a group) the variables seems to always be translated into names containing the survey ID (for example, "697649X33X406.NAOK" instead of "chance.NAOK"). Even if I explicitely type in "chance.NAOK" it is immediately converted to "697649X33X406.NAOK" (or whatever the survey ID is) upon saving. | ||||
Steps To Reproduce | An easy way to reproduce it is to import the attached survey file and edit the question "motivatehow". The relevance equation is shown with the survey-ID-variable, although in the imported data it was "((chance.NAOK == "Y"))". Even easier is to just import the survey file and immediately export it again as .lss. In the exported lss-file you are stuck with the survey-ID-variable instead of chance.NAOK, which makes it impossible to import it again correctly. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 130802 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Does not matter | ||||
Database type & version | MariaDB 5.5.25 | ||||
Server OS (if known) | Debian Wheezy | ||||
Webserver software & version (if known) | Nginx & PHP-FPM | ||||
PHP Version | 5.4.17 | ||||
I found out why the Relevance equation could not be changed - because I used the Conditions designer first to find out how the relevance equation looks like. I think a bug report already exists - it is very confusing when trying to change a relevance equation, which is not saved, without any hint that it was not changed because a condition was previously set. A warning message in the form (like "Relevance equation cannot be edited directly because you defined a condition in the conditions designer") would really help - I spent hours just trying to correctly export and import the survey. This still seems to be a wrong conversion from the Conditions designer to Relevance equation - instead of using the question code variables it uses survey-ID-specific variables, which breaks on export or sometimes also when copying the survey. The conditions designer should use reusable variables. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13040 |
|
Version 2.00+ Build 130923 released |
|
LimeSurvey: 2.05 854d3c3e 2013-05-23 18:35 Details Diff |
Fixed issue : Relevance equation seems to be editable even if not. Dev: add a test if condition exist |
Affected Issues 08137, 08174 |
|
mod - application/controllers/admin/questions.php | Diff File | ||
mod - application/views/admin/survey/Question/editQuestion_view.php | Diff File | ||
LimeSurvey: master d8e5532d 2013-09-18 15:54 Details Diff |
Fixed issue 8137: Relevance equation cannot be edited for unknown reasons |
Affected Issues 08137 |
|
mod - application/controllers/admin/question.php | Diff File | ||
mod - application/models/Questions.php | Diff File | ||
mod - application/views/admin/survey/Question/editQuestion_view.php | Diff File | ||
mod - styles/blobblueish/adminstyle.css | Diff File | ||
mod - styles/gringegreen/adminstyle.css | Diff File | ||
LimeSurvey: master 66dacc0b 2013-09-23 13:15 Details Diff |
Fixed issue 08137: Relevance equation cannot be edited for unknown reasons Dev Fix for hasConditions |
Affected Issues 08137 |
|
mod - application/models/Questions.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-09-07 17:41 | iquito | New Issue | |
2013-09-07 17:41 | iquito | File Added: survey_export_bug.lss | |
2013-09-09 16:39 | iquito | Note Added: 26191 | |
2013-09-09 17:28 | mfaber | Issue Monitored: mfaber | |
2013-09-12 23:28 | c_schmitz | Assigned To | => c_schmitz |
2013-09-12 23:28 | c_schmitz | Status | new => assigned |
2013-09-18 15:58 | c_schmitz | Status | assigned => resolved |
2013-09-18 15:58 | c_schmitz | Fixed in Version | => 2.00+ |
2013-09-18 15:58 | c_schmitz | Resolution | open => fixed |
2013-09-18 15:58 | c_schmitz | Changeset attached | => LimeSurvey master d8e5532d |
2013-09-19 21:06 | DenisChenu | Relationship added | parent of 08174 |
2013-09-19 21:17 | DenisChenu | Changeset attached | => LimeSurvey 2.05 854d3c3e |
2013-09-23 13:15 | c_schmitz | Changeset attached | => LimeSurvey master 66dacc0b |
2013-09-23 13:15 | c_schmitz | Note Added: 26315 | |
2013-09-23 13:27 | c_schmitz | Note Added: 26317 | |
2013-09-23 13:27 | c_schmitz | Status | resolved => closed |
2021-08-02 20:26 | guest | Bug heat | 4 => 6 |