View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 15011 | Bug reports | Other | public | 2019-07-02 14:14 | 2020-03-09 15:36 |
| Reporter | cdorin | Assigned To | |||
| Priority | none | Severity | partial_block | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 3.17.x | ||||
| Fixed in Version | 3.17.x | ||||
| Summary | 15011: Regular expression - issue - LimeSurvey "removes" 0 | ||||
| Description | Check the attached survey, and then test it in regex101 (ecmascript/javascript). It works there, but not in LimeSurvey. (import the attached .lss) Tested expression: /^[0-9]{4,5}$/ | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | irrelevant | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | irrelevant | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | irrelevant | ||||
| related to | 15009 | acknowledged | Not number show as number |
|
@DenisChenu: |
|
|
See new issue here : https://bugs.limesurvey.org/view.php?id=15009 In 3.X : TEXT.NAOK : 0001 => 1 In 3.X seems TEXT.shown : 0001 => 0001 I think the issue is here : https://github.com/LimeSurvey/LimeSurvey/blob/db0310d6559f8114beaced4222c0bd7321caa204/assets/scripts/expressions/em_javascript.js#L712-L725 There are an issue in 2.6 too : |
|
|
This issue is fixed. https://github.com/LimeSurvey/LimeSurvey/commit/1ce7be1c707a7beb51ee80dfbceaf49cb7838548 |
|
|
Correction: |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-07-02 14:14 | cdorin | New Issue | |
| 2019-07-02 14:14 | cdorin | Status | new => assigned |
| 2019-07-02 14:14 | cdorin | Assigned To | => dominikvitt |
| 2019-07-02 14:14 | cdorin | File Added: limesurvey_survey_921581.lss | |
| 2019-07-03 08:03 |
|
Note Added: 52688 | |
| 2019-07-03 09:07 | DenisChenu | Note Added: 52689 | |
| 2019-07-03 09:08 | DenisChenu | Relationship added | related to 15009 |
| 2019-07-03 14:53 |
|
Status | assigned => resolved |
| 2019-07-03 14:53 |
|
Resolution | open => fixed |
| 2019-07-03 14:53 |
|
Fixed in Version | => 3.17.x |
| 2019-07-03 14:53 |
|
Note Added: 52692 | |
| 2019-07-04 11:38 |
|
Note Added: 52721 | |
| 2020-03-09 15:36 | c_schmitz | Status | resolved => closed |