View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
11740 | Bug reports | Survey taking | public | 2016-10-04 09:49 | 2016-11-11 13:18 |
Reporter | DenisChenu | Assigned To | DenisChenu | ||
Priority | low | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.52.x | ||||
Fixed in Version | 2.55.x | ||||
Summary | 11740: Decimal throwerreor with negative value | ||||
Description | Numeri question type : decimal send error when entering a negative value ==== Decimal function throw error on numeric question type when using in config | ||||
Steps To Reproduce | Enter - in a numeric question type ==== Set in your config. Import included survey, show console and test enter abc in an input. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 20161004 | ||||
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 | not relevant | ||||
Why do we have these options at all. They make no real sense, even to a proficient user. |
|
There are a bug report fixed with this options : https://bugs.limesurvey.org/view.php?id=8247 . In fact : "since a survey engine should not autocorrect." surely true in some situation. |
|
Send Error too with - : update priority, no ? Question : why decimal was added ? |
|
Fix committed to answers_html branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=21027 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=21028 |
|
Thank you @olle :) |
|
Version 2.55.3 released |
|
LimeSurvey: answers_html 33a1dd42 2016-10-15 13:00 Details Diff |
Fixed issue 11740: Decimal throwerreor with negative value Dev: Put a try everywhere using Decimal(value), unsure we need it everywhere |
Affected Issues 11740 |
|
mod - scripts/array-totalsum.js | Diff File | ||
mod - scripts/expressions/em_javascript.js | Diff File | ||
LimeSurvey: master 56dc3fe9 2016-10-15 13:06 Details Diff |
Fixed issue 11740: Decimal throwerreor with negative value Dev: Put a try everywhere using Decimal(value), unsure we need it everywhere, but don't seem to be an issue Dev: Didn't update anything else |
Affected Issues 11740 |
|
mod - scripts/array-totalsum.js | Diff File | ||
mod - scripts/expressions/em_javascript.js | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-10-04 09:49 | DenisChenu | New Issue | |
2016-10-04 09:50 | DenisChenu | File Added: limesurvey_survey_DecimlaFixNumAutoFalse.lss | |
2016-10-04 09:50 | DenisChenu | File Added: Capture du 2016-10-04 09-37-19.png | |
2016-10-04 13:19 | c_schmitz | Note Added: 41092 | |
2016-10-04 14:17 | DenisChenu | Note Added: 41102 | |
2016-10-04 14:19 | DenisChenu | Note Edited: 41102 | |
2016-10-14 12:33 | ollehar | Priority | none => low |
2016-10-14 12:37 | DenisChenu | Note Added: 41348 | |
2016-10-14 12:37 | DenisChenu | File Added: Capture du 2016-10-14 12-36-46.png | |
2016-10-14 12:38 | DenisChenu | Summary | Decimal throwerreor with bNumRealValue to 1 => Decimal throwerreor with negative value |
2016-10-14 12:38 | DenisChenu | Description Updated | |
2016-10-14 12:38 | DenisChenu | Steps to Reproduce Updated | |
2016-10-14 15:10 | ollehar | Issue Monitored: ollehar | |
2016-10-14 16:39 | ollehar | Assigned To | => DenisChenu |
2016-10-14 16:39 | ollehar | Status | new => assigned |
2016-10-15 10:50 | DenisChenu | Relationship added | related to 11731 |
2016-10-15 11:02 | DenisChenu | Changeset attached | => LimeSurvey answers_html 33a1dd42 |
2016-10-15 11:02 | DenisChenu | Note Added: 41366 | |
2016-10-15 11:02 | DenisChenu | Resolution | open => fixed |
2016-10-15 11:06 | DenisChenu | Changeset attached | => LimeSurvey master 56dc3fe9 |
2016-10-15 11:06 | DenisChenu | Note Added: 41367 | |
2016-10-15 11:07 | DenisChenu | Status | assigned => resolved |
2016-10-15 11:07 | DenisChenu | Fixed in Version | => 2.55.x |
2016-10-15 11:07 | DenisChenu | Note Added: 41368 | |
2016-11-11 13:18 | c_schmitz | Note Added: 41861 | |
2016-11-11 13:18 | c_schmitz | Status | resolved => closed |
2021-08-02 19:29 | guest | Bug heat | 4 => 6 |