View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
11894 | Bug reports | Survey editing | public | 2016-11-11 14:15 | 2017-01-06 12:15 |
Reporter | universewater | Assigned To | |||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Fixed in Version | 2.56.x | ||||
Summary | 11894: Regex validation not working as expected when leading zeros are present in short text questions | ||||
Description | Consider a short text question with this validation: /^([0-9][0-9a-zA-Z][0-9a-zA-Z][0-9])$/ . You will not be able to input 0000 or 0111. If you remove the leading zeros all works as expected. | ||||
Steps To Reproduce |
| ||||
Tags | No tags attached. | ||||
Bug heat | 22 | ||||
Complete LimeSurvey version number (& build) | 2.55.2+161103 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | NA | ||||
Server OS (if known) | NA | ||||
Webserver software & version (if known) | NA | ||||
PHP Version | NA | ||||
related to | 11731 | closed | ollehar | JavaScript error when the field has a validation regexp, and the input starts with a plus sign |
related to | 10860 | closed | DenisChenu | Regular expression fail (2.06+) |
related to | 09242 | closed | PHP and JS difference with numeric value starting by 0 | |
has duplicate | 11830 | closed | I see the danger text red color but not turns to green color. But I can step |
Able to submit : only js error.
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=21698 |
|
New version released. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-11-11 14:15 | universewater | New Issue | |
2016-11-13 17:20 | DenisChenu | Relationship added | related to 11731 |
2016-11-13 17:21 | DenisChenu | Relationship added | related to 10860 |
2016-11-13 17:22 | DenisChenu | Relationship added | related to 09242 |
2016-11-13 17:33 | DenisChenu | Note Added: 41867 | |
2016-11-14 15:23 |
|
Assigned To | => markusfluer |
2016-11-14 15:23 |
|
Status | new => assigned |
2016-11-14 16:44 | DenisChenu | Relationship added | has duplicate 11830 |
2016-12-05 17:14 |
|
Changeset attached | => LimeSurvey master 6906d1c0 |
2016-12-05 17:14 |
|
Note Added: 42375 | |
2016-12-05 17:14 |
|
Resolution | open => fixed |
2016-12-05 17:15 |
|
Status | assigned => resolved |
2016-12-05 17:15 |
|
Fixed in Version | => 2.56.x |
2017-01-06 12:15 | c_schmitz | Note Added: 42660 | |
2017-01-06 12:15 | c_schmitz | Status | resolved => closed |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |
2021-08-02 19:34 | guest | Bug heat | 18 => 22 |