View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
15009Bug reportsSurvey editingpublic2021-02-07 10:21
ReporterDenisChenu Assigned To 
PrioritynoneSeverityminor 
Status acknowledgedResolutionopen 
Product Version3.17.x 
Summary15009: Not number show as number
Description

If you enter value like 0001.1000 and show it to user : it show 1.1
And with , as radix : show at 1,1 … it's worst

Steps To Reproduce

Import included survey, check
This disable all usage of code like 01000 for postal code for example.

Additional Information

with 2.73 or 2.6lts : <code>0001.1000</code> become <code>0001,1000</code> bad too, but better.

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)3.15.9 github
I will donate to the project if issue is resolvedNo
BrowserFF
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Relationships

related to 15011 closeddominikvitt Regular expression - issue - LimeSurvey "removes" 0 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2019-07-03 16:03

developer   ~52696

Now, with last GIT :

  1. it move 0 from end to start
  2. And still remove the 0 from end if there no 0 at start.

Can you take the 0 part ? The point 1 must be fixed before next release i think.

I think we can do the . to , only for 4.0 …

DenisChenu

DenisChenu

2019-07-03 16:05

developer   ~52699

PS : need a test for this ;)

dominikvitt

dominikvitt

2019-07-04 11:39

developer   ~52722

I corrected that issue from the latest GIT:
https://github.com/LimeSurvey/LimeSurvey/commit/e4912fdbb480de2e1272afc3b47ca364d623c474

dominikvitt

dominikvitt

2019-07-04 11:42

developer   ~52723

Also, this is not a bug but expected behaviour.
When you set Decimal mark in survey options to Comma, it transform dot to comma.
If you set option as Dot, there is no transformation.

DenisChenu

DenisChenu

2019-07-04 12:59

developer   ~52727

Yes : but here : the question type is text, not number : then why it's updated ?
Decimal mark is done for number, not text.

Thanks for the 0 at end with 0 at start.
I open another issue about 10.100 > 10.1 for short text question type

Issue History

Date Modified Username Field Change
2019-07-01 17:10 DenisChenu New Issue
2019-07-01 17:10 DenisChenu File Added: limesurvey_survey_NotANumberShowAsNumber.lss
2019-07-03 09:08 DenisChenu Relationship added related to 15011
2019-07-03 16:01 DenisChenu Assigned To => dominikvitt
2019-07-03 16:01 DenisChenu Status new => assigned
2019-07-03 16:03 DenisChenu File Added: Capture d’écran du 2019-07-03 16-00-22.png
2019-07-03 16:03 DenisChenu File Added: Capture d’écran du 2019-07-03 16-02-26.png
2019-07-03 16:03 DenisChenu Note Added: 52696
2019-07-03 16:05 DenisChenu File Added: Capture d’écran du 2019-07-03 16-05-01.png
2019-07-03 16:05 DenisChenu Note Added: 52699
2019-07-04 11:39 dominikvitt Note Added: 52722
2019-07-04 11:42 dominikvitt Note Added: 52723
2019-07-04 12:59 DenisChenu File Added: Capture d’écran du 2019-07-04 12-57-53.png
2019-07-04 12:59 DenisChenu Note Added: 52727
2019-07-15 11:40 dominikvitt Assigned To dominikvitt => cdorin
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2021-02-07 10:21 cdorin Assigned To cdorin =>
2021-02-07 10:21 cdorin Status assigned => acknowledged