View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
10940 | Bug reports | Survey taking | public | 2016-04-13 17:51 | 2016-06-09 13:53 |
Reporter | markbao | Assigned To | |||
Priority | low | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.06+ | ||||
Fixed in Version | 2.50.x | ||||
Summary | 10940: Numerical input with "Thousands separator" enabled rejects input that have a thousands separator | ||||
Description | Hello, I have a question (attached) that is Numerical and has this configuration: Thousands separator: Yes However, whenever I input a number 1000 or above (which triggers the automatic thousands separator), it produces a number like "1,000", and it is rejected by the validation. Changing it back to something like 999 makes it go though. Error message: One or more questions have not been answered in a valid manner. You cannot proceed until these answers are valid. This seems to be fixed in 2.5 but 2.5 has another bug with inputting numbers (see http://www.giphy.com/gifs/xT1XGDYH3Vfsed7o5i) and we are not able to use 2.5 at this time. | ||||
Steps To Reproduce |
Expected behavior: These numbers should go through correctly, since the thousands separator should be valid (besides, it's being inserted by LimeSurvey). Actual behavior: It fails validation. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | Build 151215 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MySQL latest | ||||
Server OS (if known) | Ubuntu latest | ||||
Webserver software & version (if known) | Apache latest | ||||
PHP Version | PHP 5 latest | ||||
Correction in steps to reproduce: "Use attached question file" should be "Use attached survey file". |
|
Version 2.50+ Build 160414 |
|
This is not a bug, since you had set "Integers only" to "Yes" in Advanced settings. |
|
Version 2.50+ Build 160421 released |
|
Hmm - so the "thousands separator" seems like it should be working with numbers, since that's the only place you would use a thousands separator, correct? So it doesn't seem to make sense that if you want a thousands separator, the integer validation has to be turned off. Expected general behavior should be to add the thousands separator in the survey UI, but strip it out in validation and in the response data. In addition, expected behavior in LS 2.5 should be that adding an extra "0" to 100 should lead to it being 1,000, not 100,100 and throwing an error as it currently is. (Also, I didn't see this in the 2.5 build 160421 changelog so I am posting this follow-up.) |
|
Thoughts on this? |
|
IMO, it should not be possible to enable both integers only AND thousand separator. |
|
The thousands separator feature was removed as there is no clean way to make it work. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-04-13 17:51 | markbao | New Issue | |
2016-04-13 17:51 | markbao | File Added: limesurvey_survey_818111.lss | |
2016-04-13 17:52 | markbao | Note Added: 37352 | |
2016-04-13 18:53 | trivender | Note Added: 37353 | |
2016-04-13 19:17 | c_schmitz | Assigned To | => ollehar |
2016-04-13 19:17 | c_schmitz | Status | new => assigned |
2016-04-13 19:18 | c_schmitz | Priority | none => high |
2016-04-19 12:34 | ollehar | Note Added: 37538 | |
2016-04-19 12:34 | ollehar | Status | assigned => resolved |
2016-04-19 12:34 | ollehar | Fixed in Version | => 2.5 |
2016-04-19 12:34 | ollehar | Resolution | open => no change required |
2016-04-21 11:40 | c_schmitz | Note Added: 37640 | |
2016-04-21 11:40 | c_schmitz | Status | resolved => closed |
2016-04-21 17:44 | markbao | Note Added: 37667 | |
2016-04-21 17:44 | markbao | Status | closed => feedback |
2016-04-21 17:44 | markbao | Resolution | no change required => reopened |
2016-04-21 17:45 | markbao | Note Edited: 37667 | |
2016-04-21 17:45 | markbao | Note Edited: 37667 | |
2016-05-14 20:09 | markbao | Note Added: 38572 | |
2016-05-14 20:09 | markbao | Status | feedback => assigned |
2016-05-17 10:13 | ollehar | Note Added: 38587 | |
2016-06-07 13:19 |
|
Priority | high => low |
2016-06-09 13:53 | c_schmitz | Note Added: 39355 | |
2016-06-09 13:53 | c_schmitz | Status | assigned => closed |
2016-06-09 13:53 | c_schmitz | Assigned To | ollehar => |
2016-06-09 13:53 | c_schmitz | Resolution | reopened => fixed |