View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
13505 | Bug reports | Expression Manager | public | 2018-03-20 15:32 | 2018-04-06 11:47 |
Reporter | vkuzmin | Assigned To | DenisChenu | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.3.x | ||||
Summary | 13505: that.QNAME.shown have different behaviour if PHP and JS | ||||
Description | Php expression manager ignore "Other" option in Multiple choice questions but JS count them. | ||||
Steps To Reproduce | Make new Multiple choice question with allowed Option 'Other'. Take survey, type something in other option. Try to count answers. | ||||
Additional Information | Also {list(that.QNAME.shown)} in JS show "Other" for Other answers and {list(that.QNAME.NAOK)} show other answer itself. Is it possible to show answer itself in {list(that.QNAME.shown)} too? | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 2 | ||||
Complete LimeSurvey version number (& build) | 3.5.3 demo.limesurvey.org | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome 55 | ||||
Database type & version | demo.limesurvey.org | ||||
Server OS (if known) | demo.limesurvey.org | ||||
Webserver software & version (if known) | demo.limesurvey.org | ||||
PHP Version | demo.limesurvey.org | ||||
2.5X have same issue. And there are another issue : show must be take from attribute (if admin user set it). Maybe time to update other system
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=26885 |
|
Count other.shown in PHP like in JS Old issue here … NAOK still return value entered by user, .shown show Other text. |
|
LimeSurvey: master 29d0a002 2018-03-28 19:02 Details Diff |
Fixed issue 13505 : Q_other.shown are difference between PHP and JS Dev: Replace other by the real string seen by user Dev: replace test $code=='Y' by !empty($code) to get other too |
Affected Issues 13505 |
|
mod - application/helpers/expressions/em_manager_helper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-03-20 15:32 | vkuzmin | New Issue | |
2018-03-20 15:32 | vkuzmin | File Added: thatshown.png | |
2018-03-20 15:32 | vkuzmin | File Added: limesurvey_survey_617582.lss | |
2018-03-20 16:46 | DenisChenu | Assigned To | => DenisChenu |
2018-03-20 16:46 | DenisChenu | Status | new => assigned |
2018-03-21 19:34 | DenisChenu | Note Added: 47166 | |
2018-03-28 17:02 | DenisChenu | Changeset attached | => LimeSurvey master 29d0a002 |
2018-03-28 17:02 | DenisChenu | Note Added: 47268 | |
2018-03-28 17:02 | DenisChenu | Resolution | open => fixed |
2018-03-28 17:05 | DenisChenu | Status | assigned => resolved |
2018-03-28 17:05 | DenisChenu | Note Added: 47269 | |
2018-04-06 11:47 |
|
Status | resolved => closed |