View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
10189 | Bug reports | Survey editing | public | 2015-12-30 15:28 | 2016-02-23 21:28 |
Reporter | ervit | Assigned To | ollehar | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.06+ | ||||
Target Version | 2.50.x | Fixed in Version | 2.50.x | ||
Summary | 10189: Enabling "Thousands separator" in "numerical input" questions results in an error and data loss | ||||
Description | Create a question of the type "Numerical input" with 'thousands separator' and 'integers only' attributes both enabled. Place the question in a group and have a second group after it. Test the survey: enter a number of 1000 or more (it will be masked by the template into 1,000.00) and click 'Next' to move to the next question group (questions are grouped by group). I get the error "One or more questions have not been answered in a valid manner. You cannot proceed until these answers are valid". As soon as I disable "Thousands separator" in question attributes, the error doesn't happen. If I enable only "Thousands separator" but leave "Integers only" at 'No', then after the error message, the amount is divided by 100 (i.e. if I enter 50,000.00, it is truncated to 500.00). Also, in this scenario, entering a number less than 1000 but with zeroes at the end (such as 500 or 500.50, for example) allows navigating to the next page, but returning back still divides the number by 10 or 100 every single time, until there are no more zeroes to eliminate. In other words, 500.00 will be reduced to 5.00 and then to 0.05 and 500.50 will be reduced to 50.05, but 999.99 will remain 999.99. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | |||||
I will donate to the project if issue is resolved | |||||
Browser | |||||
Database type & version | |||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | |||||
The error with thousands separator doesn't appear when pressing the "Previous" button in the survey, but the decimal mess does. |
|
i confirm the same scenario |
|
Hello and happy new year. I went from 150629 the last version dated: 151 205 successfully .. I looked in detail the type of question that is the problem:
The bugs are critical about the content of the data: the application is not planted, but the content of the answers is completely distorted.
We redo the same operation, but enter 2 million. Variation: add the thousands separator in the setting of the question ---> it becomes very attractive to the eye, but madness to explain to users. Option 2: choose as decimal separator point not comma : what it looks after with thousands separator?
The display will be the following answers to the entered value of 20,000: 200.0000000000. Variation: enter 200 000 as the value -> was a crash which indicates that the data could not be saved. @Denis: Currently it is a feature, but for me it's more of bug - crash. You can change? |
|
@ervit : i move it to "bug" not feature request . Can you confirm it's a duplicate than https://bugs.limesurvey.org/view.php?id=9876 ? |
|
The bug is "thousand separator" + "," for decimal : all is broken . |
|
@Denis https://bugs.limesurvey.org/view.php?id=9876 seems to be about other issues, although it can be related to the same input mask implementation. PS: i was sure i was reporting a bug and not a feature request... must have overlooked |
|
FYI: This will be fixed in 2.5, not 2.06. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=17571 |
|
The first issue is resolved, the second (going back and forth) is not. |
|
Fixed in 2.5. Please update at next release and confirm. |
|
Version 2.50+ Build 160223 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2015-12-30 15:28 | ervit | New Issue | |
2015-12-30 15:28 | ervit | File Added: limesurvey_survey_584696.lss | |
2015-12-31 11:12 | ervit | Note Added: 34127 | |
2015-12-31 11:12 | ervit | Note Edited: 34127 | |
2016-01-05 17:07 | riqcles | Note Added: 34148 | |
2016-01-05 19:27 | riqcles | Note Added: 34152 | |
2016-01-06 15:18 | DenisChenu | Project | Feature requests => Bug reports |
2016-01-06 17:35 | DenisChenu | Relationship added | related to 09876 |
2016-01-06 17:36 | DenisChenu | Note Added: 34158 | |
2016-01-06 17:37 | DenisChenu | Severity | feature => minor |
2016-01-06 17:37 | DenisChenu | Product Version | => 2.06+ |
2016-01-06 17:38 | DenisChenu | Note Added: 34159 | |
2016-01-07 09:15 | ervit | Note Added: 34163 | |
2016-01-08 17:48 | DenisChenu | Relationship added | related to 10211 |
2016-02-22 14:49 | ollehar | Note Added: 35536 | |
2016-02-22 14:49 | ollehar | Assigned To | => ollehar |
2016-02-22 14:49 | ollehar | Status | new => assigned |
2016-02-22 14:50 | ollehar | Target Version | => 2.5 |
2016-02-22 18:02 | ollehar | Changeset attached | => LimeSurvey master 83beb123 |
2016-02-22 18:02 | ollehar | Note Added: 35545 | |
2016-02-22 18:02 | ollehar | Resolution | open => fixed |
2016-02-23 16:15 | ollehar | Note Added: 35602 | |
2016-02-23 16:45 | ollehar | Note Added: 35603 | |
2016-02-23 16:45 | ollehar | Status | assigned => resolved |
2016-02-23 16:45 | ollehar | Fixed in Version | => 2.5 |
2016-02-23 21:28 | c_schmitz | Note Added: 35616 | |
2016-02-23 21:28 | c_schmitz | Status | resolved => closed |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |