View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 09588 | Bug reports | Expression Manager | public | 2015-03-25 15:55 | 2015-03-30 08:26 |
| Reporter | routard | Assigned To | DenisChenu | ||
| Priority | low | Severity | minor | ||
| Status | closed | Resolution | no change required | ||
| Product Version | 2.05+ | ||||
| Summary | 09588: Validation regex is bugged | ||||
| Description | I have a short text question with this validation equation : #^[0-4][0-9]{2}$# This should mean that only the entries between 000 and 499 are allowed. BUT the problem is when the entry begins with 0 (zero), the validation / regex is not correct. All the range from 000 to 099 is not valid because it seems that the initial zero is ignored. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 150310 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | mysql 5.0.51a | ||||
| Server OS (if known) | Linux Fcm-froxlor03 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1 x86_64 | ||||
| Webserver software & version (if known) | 5.5.34-32.0-log | ||||
| PHP Version | 5.4.36-0+deb7u3 | ||||
| Git branch / Pull Request URL | |||||
|
Can not reproduce http://limesurvey.sondages.pro/623857?newtest=Y |
|
|
I send you the .lsg file of the questions group! Still doesn't works :-) |
|
|
Why use number only : 000 is not an number : it's a string. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-03-25 15:55 | routard | New Issue | |
| 2015-03-28 17:03 | DenisChenu | Note Added: 31923 | |
| 2015-03-28 17:04 | DenisChenu | Note Edited: 31923 | |
| 2015-03-28 17:05 | DenisChenu | File Added: Capture du 2015-03-28 17:05:07.png | |
| 2015-03-28 17:06 | DenisChenu | Priority | high => low |
| 2015-03-28 17:06 | DenisChenu | Severity | partial_block => minor |
| 2015-03-28 17:06 | DenisChenu | Reproducibility | have not tried => unable to reproduce |
| 2015-03-28 17:53 | routard | Issue Monitored: routard | |
| 2015-03-28 18:00 | routard | Note Added: 31924 | |
| 2015-03-28 18:00 | routard | File Added: limesurvey_group_194.lsg | |
| 2015-03-28 18:01 | routard | Note Edited: 31924 | |
| 2015-03-28 18:03 | routard | Note Edited: 31924 | |
| 2015-03-28 18:12 | routard | Issue End Monitor: routard | |
| 2015-03-30 08:25 | DenisChenu | Note Added: 31925 | |
| 2015-03-30 08:26 | DenisChenu | Status | new => closed |
| 2015-03-30 08:26 | DenisChenu | Assigned To | => DenisChenu |
| 2015-03-30 08:26 | DenisChenu | Resolution | open => no change required |