View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
11849 | Bug reports | Survey taking | public | 2016-10-31 19:17 | 2016-11-18 12:53 |
Reporter | DenisChenu | Assigned To | |||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.55.x | ||||
Fixed in Version | 2.55.x | ||||
Summary | 11849: Numeric valid item with , show as error | ||||
Description | Whan entering a valid number : exemple 8,9 with radix to , : javascript show error | ||||
Steps To Reproduce | Import included survey and test . Same survey is OK in 2.06 | ||||
Additional Information | In 2.06 : LEMis_numeric function receive corrected value (8.9), in 2.55 : receive 8,9 value. Quick solution : fix value in LEMis_numeric BUT : there are surely other function where it can break in same situation | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 14 | ||||
Complete LimeSurvey version number (& build) | 20161031 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | not relevant | ||||
Database type & version | not relevant | ||||
Server OS (if known) | not relevant | ||||
Webserver software & version (if known) | not relevant | ||||
PHP Version | n | ||||
has duplicate | 11920 | closed | c_schmitz | Decimal input with in "numerical input" and "multiple numerical input" questions always produce error message |
related to | 11732 | closed | DenisChenu | Slider reset don't reset to default position |
2nd screenshot with 2.06 : |
|
PS : In 2.50 too : LEMval function, Think we must return the 'real' number value : all other function wait real number (sum, is_numeric etc ....) |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=21427 |
|
Sill an issue : QCODE.NAOK return empty string even if it's OK. |
|
See Capture du 2016-11-17 11-04-19.png ( with the new lss) Set major : all "," survey are broken. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=21452 |
|
I think it is fixed now, i had to touch is_numeric and _sum. But it works again |
|
BUT : what for sin ? sqrt ? number_format . etc .... or '1,2' > 1 result ? Again : before using Decimal.js : we always use dot internally. And send comma only for view. We have the same issue with date before, until aestu make decision : always use 'Y-m-d H:i:s' internally for date compare. |
|
Version 2.56.1 released |
|
LimeSurvey: master 49aff574 2016-11-16 10:54
Details Diff |
Fixed issue 11849: Numeric valid item with , show as error |
Affected Issues 11849 |
|
mod - application/controllers/admin/questions.php | Diff File | ||
mod - scripts/expressions/em_javascript.js | Diff File | ||
mod - scripts/survey_runtime.js | Diff File | ||
LimeSurvey: master eb806fc1 2016-11-17 13:43
Details Diff |
Fixed issue 11849: the em now works with ',' as well as with '.' |
Affected Issues 11849 |
|
mod - scripts/expressions/em_javascript.js | Diff File | ||
mod - scripts/survey_runtime.js | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-10-31 19:17 | DenisChenu | New Issue | |
2016-10-31 19:17 | DenisChenu | File Added: limesurvey_survey_multiNum.lss | |
2016-10-31 19:17 | DenisChenu | File Added: Capture du 2016-10-31 19-07-09.png | |
2016-10-31 19:17 | DenisChenu | File Added: Capture du 2016-10-31 19-08-09.png | |
2016-10-31 19:18 | DenisChenu | Note Added: 41623 | |
2016-10-31 19:18 | DenisChenu | Assigned To | => markusfluer |
2016-10-31 19:18 | DenisChenu | Status | new => assigned |
2016-11-09 14:18 | DenisChenu | Note Added: 41816 | |
2016-11-10 12:26 | jelo | Issue Monitored: jelo | |
2016-11-14 11:43 | DenisChenu | Relationship added | related to 11732 |
2016-11-16 09:54 |
|
Changeset attached | => LimeSurvey master 49aff574 |
2016-11-16 09:54 |
|
Note Added: 41975 | |
2016-11-16 09:54 |
|
Resolution | open => fixed |
2016-11-17 10:33 | c_schmitz | Relationship added | has duplicate 11920 |
2016-11-17 10:33 |
|
Status | assigned => resolved |
2016-11-17 10:33 |
|
Fixed in Version | => 2.55.x |
2016-11-17 10:57 | DenisChenu | Status | resolved => feedback |
2016-11-17 10:57 | DenisChenu | Resolution | fixed => reopened |
2016-11-17 10:57 | DenisChenu | Note Added: 42019 | |
2016-11-17 10:57 | DenisChenu | Note Edited: 42019 | |
2016-11-17 11:05 | DenisChenu | File Added: limesurvey_survey_NumComma.lss | |
2016-11-17 11:05 | DenisChenu | File Added: Capture du 2016-11-17 11-04-04.png | |
2016-11-17 11:05 | DenisChenu | File Added: Capture du 2016-11-17 11-04-19.png | |
2016-11-17 11:06 | DenisChenu | Note Added: 42021 | |
2016-11-17 11:06 | DenisChenu | Status | feedback => assigned |
2016-11-17 11:06 | DenisChenu | Severity | minor => partial_block |
2016-11-17 11:07 | DenisChenu | Note Edited: 42021 | |
2016-11-17 12:44 |
|
Changeset attached | => LimeSurvey master eb806fc1 |
2016-11-17 12:44 |
|
Note Added: 42026 | |
2016-11-17 12:45 |
|
Note Added: 42027 | |
2016-11-17 13:05 |
|
Status | assigned => resolved |
2016-11-17 13:05 |
|
Resolution | reopened => fixed |
2016-11-17 15:24 | DenisChenu | Note Added: 42031 | |
2016-11-18 12:53 | c_schmitz | Note Added: 42058 | |
2016-11-18 12:53 | c_schmitz | Status | resolved => closed |