| Anonymous | Login | 2013-05-21 06:09 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap | Repositories |
| View Issue Details [ Jump to Notes ] [ Related Changesets ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 06980 | Bug reports | [All Projects] 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+ | ||||||||
| Target Version | 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. 2) Take the survey and input, for example, 1000 in the numerical input field. 3) Check the responses in "Responses and statistics" 4) Notice "1" in the response | ||||||||
| I will donate to the project if issue is resolved within 48 hrs | No | ||||||||
| LimeSurvey build number | 121127 | ||||||||
| Browser | Safari 6.0.2 | ||||||||
| Database & DB-Version | 164 | ||||||||
| Operating System (Server) | OSX | ||||||||
| Webserver software & version | Apache/2.0.64 | ||||||||
| PHP Version | 5.3.5 | ||||||||
| Attached Files | |||||||||
Notes |
|
|
jussibus (reporter) 2012-11-29 09:35 |
Sorry, the first lss file uploaded was wrong. Use the next one (numerical_input_issue_correct.lss)! |
|
DenisChenu (developer) 2012-11-29 13:42 |
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10555 [^] |
|
DenisChenu (developer) 2012-11-29 13:47 |
Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10559 [^] |
|
mdekker (developer) 2012-11-29 16:12 edited on: 2012-11-29 16:13 |
Just to make sure we don't forget to fix before release... see my comment on git (I had error on show response screen) |
|
DenisChenu (developer) 2012-11-29 16:23 |
github are on error actually. Review it now, thank you |
|
DenisChenu (developer) 2012-11-29 18:09 |
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10573 [^] |
|
DenisChenu (developer) 2012-11-29 18:12 |
Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10574 [^] |
|
c_schmitz (administrator) 2012-12-04 13:16 |
LimeSurvey 2.0+ build 121204 released. |
Related Changesets |
|||
|
LimeSurvey: master 2b839f97
Timestamp: 2012-11-29 12:41:03 Author: DenisChenu Committer: Denis Chenu [ Details ] [ Diff ] |
Fixed issue 06980: Numerical input strips zeros Dev: Maybe can use float_val, but not sure if DECIMAL is a float val |
||
| mod - application/helpers/common_helper.php | [ Diff ] [ File ] | ||
| mod - application/helpers/qanda_helper.php | [ Diff ] [ File ] | ||
|
LimeSurvey: 2.1 cd7b608c
Timestamp: 2012-11-29 12:45:06 Author: DenisChenu Committer: Denis Chenu [ Details ] [ Diff ] |
Fixed issue 06980: Numerical input strips zeros Dev: Maybe can use float_val, but not sure if DECIMAL is a float val |
||
| mod - application/modules/NumericalQuestion.php | [ Diff ] [ File ] | ||
|
LimeSurvey: master 2d9fb43b
Timestamp: 2012-11-29 17:07:29 Author: DenisChenu Committer: Denis Chenu [ Details ] [ Diff ] |
Dev: reFixed 06980: Numerical input strips zeros | ||
| mod - application/helpers/common_helper.php | [ Diff ] [ File ] | ||
| mod - application/helpers/qanda_helper.php | [ Diff ] [ File ] | ||
|
LimeSurvey: 2.1 59aca5f4
Timestamp: 2012-11-29 17:10:10 Author: DenisChenu Committer: Denis Chenu [ Details ] [ Diff ] |
Dev: reFixed 06980: Numerical input strips zeros | ||
| mod - application/modules/NumericalQuestion.php | [ Diff ] [ File ] | ||
Issue History |
|||
| 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 | View Revisions |
| 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 |
| Copyright © 2000 - 2013 MantisBT Team |