View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
14400 | Bug reports | Expression Manager | public | 2019-01-07 10:39 | 2019-04-30 09:11 |
Reporter | Mazi | Assigned To | DenisChenu | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.15.x | ||||
Target Version | 3.16.x | Fixed in Version | 3.15.x | ||
Summary | 14400: Unable to use "self" 'self' "that" or 'that' fixed string in Expression | ||||
Description | If there is a question "Your role?" with these options (code/answer text): ...and you want to add a relevance equation at a follow up question like {role.NAOK=="self"}, then "self" gets replaced with the current SGQA identifier (see screenshot) and the conditions doesn't work. Even if options "self" is chosen, the follow up question never shows up. | ||||
Steps To Reproduce |
| ||||
Additional Information | Denis, assigning this one to you since you are the EM expert. Is it possible to have a fix which leads to "self" being checked as simple string value? Because currently some replacement seems to be done for unknown reasons which causes the conditions to not work properly. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 2 | ||||
Complete LimeSurvey version number (& build) | 3.15.5+181115 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | MySQL 5 | ||||
Server OS (if known) | Ubuntu 14 TLS | ||||
Webserver software & version (if known) | Apache 2 | ||||
PHP Version | 7.0 | ||||
"self" MUST not be updated : it's a major issue in my opinion |
|
See https://github.com/LimeSurvey/LimeSurvey/pull/1202 Still have issue with selfToto : must fix the regexp |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=28725 |
|
LimeSurvey: master ab247ba5 2019-01-09 13:19 Committer: GitHub Details Diff |
Fixed issue 14400: Unable to use self ot that fixed string in Expression (#1202) Dev: add self,that and this in reserved var for Question rules Fixed issue : don't replace question title starting with self or that in expression |
Affected Issues 14400 |
|
mod - application/helpers/expressions/em_core_helper.php | Diff File | ||
mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
mod - application/models/Question.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-01-07 10:39 | Mazi | New Issue | |
2019-01-07 10:39 | Mazi | Status | new => assigned |
2019-01-07 10:39 | Mazi | Assigned To | => DenisChenu |
2019-01-07 10:39 | Mazi | File Added: self_placeholder.png | |
2019-01-07 10:39 | Mazi | File Added: limesurvey_survey_411827.lss | |
2019-01-07 10:41 | DenisChenu | Note Added: 50119 | |
2019-01-07 12:06 | DenisChenu | Summary | Using Expression Manager to check for answer code "self" leads to "self" being replaced by the SGQA value => Unable to use "self" 'self' "that" or 'that' fixed string in Expression |
2019-01-07 12:06 | DenisChenu | Description Updated | |
2019-01-07 12:06 | DenisChenu | Steps to Reproduce Updated | |
2019-01-07 12:06 | DenisChenu | Additional Information Updated | |
2019-01-07 12:22 | DenisChenu | Note Added: 50121 | |
2019-01-07 12:56 | DenisChenu | Priority | none => normal |
2019-01-07 12:56 | DenisChenu | Reproducibility | have not tried => always |
2019-01-09 15:11 | DenisChenu | Status | assigned => resolved |
2019-01-09 15:11 | DenisChenu | Resolution | open => fixed |
2019-01-09 15:11 | DenisChenu | Fixed in Version | => 3.15.x |
2019-01-15 09:27 | DenisChenu | Changeset attached | => LimeSurvey master ab247ba5 |
2019-01-15 09:27 | DenisChenu | Note Added: 50201 | |
2019-04-30 09:11 | c_schmitz | Status | resolved => closed |