View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
10001 | Bug reports | Survey editing | public | 2015-10-28 15:57 | 2015-12-04 15:13 |
Reporter | josedevega | Assigned To | DenisChenu | ||
Priority | high | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.06+ | ||||
Fixed in Version | 2.06+ | ||||
Summary | 10001: Relevance equation evaluation not working with decimal values | ||||
Description | Relevance evaluation doesn´t work well in that particular case: A) Assume Q1 is an array of number question with 1 or more subquestions, configured with "," as decimal separator B) Assume Q2 is any other question with relevance equiation set to: C) Q2 is visible when user introduces any integer value without decimals (like 10) in the 1st subquestion D) Q2, wrongly, is not visible when user introduces any integer with decimals (like 10,1) in the 1st subquestion I have added a text question (Q3) in order to show the {(( ! is_empty(Q1_SQ001.NAOK))) and 1} value and it is 1 in all cases (integer with or without decimals) That is happening? | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | Versión 2.06+ Build 151018 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MySQL5.5 | ||||
Server OS (if known) | Linux icpu3932 3.2.65-grsec-infong-14351 x86_64 GNU/Linux | ||||
Webserver software & version (if known) | Apache | ||||
PHP Version | PHP Version 5.4.45 | ||||
PD: this issue only occurs when Q2 is on a separate group, please check the attached .lss file |
|
Confirm the issu : javascript used after the second group show is broken INput hidden value is 1.6 : the js wait a 1,6. Don't know if we need to
Think better is ??? Maybe return always the real value : 1.2 , even if user write 1,2 (and allowed to write 1,2) |
|
I think: So, I think the error is not the js in the second group, the error is that js should wait 1.6 in input for relevance evaluations in both groups, and js should wait 1,6 in input for input validations just in 1st group Thanks a lot |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=16325 |
|
2.06+ Build 151205 released |
|
LimeSurvey: master 4d80388e 2015-11-09 11:12 Details Diff |
Fixed issue 10001: Relevance equation on different group not working with decimal values Dev: quick fix in JS, must be done in PHP only of different group in EM |
Affected Issues 10001 |
|
mod - scripts/expressions/em_javascript.js | Diff File | ||
LimeSurvey: master 7c850970 2015-12-01 14:18 Details Diff |
Merge pull request #382 from Shnoulle/master_fix-10001 Fixed issue 10001: Relevance equation on different group not working⦠|
Affected Issues 10001 |
|
mod - scripts/expressions/em_javascript.js | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-10-28 15:57 | josedevega | New Issue | |
2015-10-29 11:06 | josedevega | Note Added: 33463 | |
2015-10-29 11:06 | josedevega | File Added: limesurvey_survey_324677.lss | |
2015-10-29 11:06 | josedevega | Note Edited: 33463 | |
2015-10-30 13:10 | DenisChenu | Issue Monitored: DenisChenu | |
2015-11-02 17:39 | DenisChenu | Note Added: 33490 | |
2015-11-02 17:40 | DenisChenu | Note Edited: 33490 | |
2015-11-02 17:46 | DenisChenu | Note Edited: 33490 | |
2015-11-05 23:55 | josedevega | Note Added: 33517 | |
2015-11-07 01:34 | DenisChenu | Assigned To | => DenisChenu |
2015-11-07 01:34 | DenisChenu | Status | new => assigned |
2015-12-01 14:18 | DenisChenu | Changeset attached | => LimeSurvey master 4d80388e |
2015-12-01 14:18 | DenisChenu | Changeset attached | => LimeSurvey master 7c850970 |
2015-12-01 14:18 | DenisChenu | Note Added: 33640 | |
2015-12-01 14:18 | DenisChenu | Resolution | open => fixed |
2015-12-03 10:18 | DenisChenu | Status | assigned => resolved |
2015-12-03 10:18 | DenisChenu | Fixed in Version | => 2.06+ |
2015-12-04 15:13 | c_schmitz | Note Added: 33695 | |
2015-12-04 15:13 | c_schmitz | Status | resolved => closed |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |
2021-08-03 16:48 | guest | Bug heat | 6 => 8 |