View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
06980 | Bug reports | Survey taking | public | 2012-11-29 09:16 | 2012-12-04 13:16 |
Reporter | jussibus | Assigned To | DenisChenu | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00+ | ||||
Fixed in Version | 2.00+ | ||||
Summary | 06980: Numerical input strips zeros | ||||
Description | I have a numerical input field in a survey. If I input, for example, '1000' to the field and submit the survey, the db table has '1000.0000000000' but the 'Responses and statistics' in the LimeSurvey admin shows only '1'. I noticed that the the trailing zeros are always stripped when viewing the responses in 'Responses and statistics'. | ||||
Steps To Reproduce | 1) Create a survey with numerical input. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 121127 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Safari 6.0.2 | ||||
Database type & version | 164 | ||||
Server OS (if known) | OSX | ||||
Webserver software & version (if known) | Apache/2.0.64 | ||||
PHP Version | 5.3.5 | ||||
Sorry, the first lss file uploaded was wrong. Use the next one (numerical_input_issue_correct.lss)! |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10555 |
|
Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10559 |
|
Just to make sure we don't forget to fix before release... see my comment on git |
|
github are on error actually. Review it now, thank you |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10573 |
|
Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10574 |
|
LimeSurvey 2.0+ build 121204 released. |
|
LimeSurvey: master 2b839f97 2012-11-29 13:41 Details Diff |
Fixed issue 06980: Numerical input strips zeros Dev: Maybe can use float_val, but not sure if DECIMAL is a float val |
Affected Issues 06980 |
|
mod - application/helpers/common_helper.php | Diff File | ||
mod - application/helpers/qanda_helper.php | Diff File | ||
LimeSurvey: 2.1 cd7b608c 2012-11-29 13:45 Details Diff |
Fixed issue 06980: Numerical input strips zeros Dev: Maybe can use float_val, but not sure if DECIMAL is a float val |
Affected Issues 06980 |
|
mod - application/modules/NumericalQuestion.php | Diff File | ||
LimeSurvey: master 2d9fb43b 2012-11-29 18:07 Details Diff |
Dev: reFixed 06980: Numerical input strips zeros |
Affected Issues 06980 |
|
mod - application/helpers/common_helper.php | Diff File | ||
mod - application/helpers/qanda_helper.php | Diff File | ||
LimeSurvey: 2.1 59aca5f4 2012-11-29 18:10 Details Diff |
Dev: reFixed 06980: Numerical input strips zeros |
Affected Issues 06980 |
|
mod - application/modules/NumericalQuestion.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-11-29 09:16 | jussibus | New Issue | |
2012-11-29 09:16 | jussibus | File Added: numerical_input_issue.lss | |
2012-11-29 09:34 | jussibus | File Added: numerical_input_issue_correct.lss | |
2012-11-29 09:35 | jussibus | Note Added: 22667 | |
2012-11-29 09:36 | jussibus | File Added: numerical_input.png | |
2012-11-29 09:36 | jussibus | File Added: numerical_input_response.png | |
2012-11-29 13:02 | DenisChenu | Assigned To | => DenisChenu |
2012-11-29 13:02 | DenisChenu | Status | new => assigned |
2012-11-29 13:42 | DenisChenu | Changeset attached | => LimeSurvey master 2b839f97 |
2012-11-29 13:42 | DenisChenu | Note Added: 22697 | |
2012-11-29 13:42 | DenisChenu | Resolution | open => fixed |
2012-11-29 13:47 | DenisChenu | Changeset attached | => LimeSurvey 2.1 cd7b608c |
2012-11-29 13:47 | DenisChenu | Note Added: 22700 | |
2012-11-29 13:47 | DenisChenu | Status | assigned => resolved |
2012-11-29 13:47 | DenisChenu | Fixed in Version | => 2.00+ |
2012-11-29 16:12 | mdekker | Note Added: 22712 | |
2012-11-29 16:12 | mdekker | Status | resolved => feedback |
2012-11-29 16:12 | mdekker | Resolution | fixed => reopened |
2012-11-29 16:13 | mdekker | Note Edited: 22712 | |
2012-11-29 16:23 | DenisChenu | Note Added: 22713 | |
2012-11-29 18:09 | DenisChenu | Changeset attached | => LimeSurvey master 2d9fb43b |
2012-11-29 18:09 | DenisChenu | Note Added: 22714 | |
2012-11-29 18:12 | DenisChenu | Changeset attached | => LimeSurvey 2.1 59aca5f4 |
2012-11-29 18:12 | DenisChenu | Note Added: 22715 | |
2012-11-29 18:34 | DenisChenu | Status | feedback => resolved |
2012-11-29 18:34 | DenisChenu | Resolution | reopened => fixed |
2012-12-04 13:16 | c_schmitz | Note Added: 22863 | |
2012-12-04 13:16 | c_schmitz | Status | resolved => closed |