View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
11753 | Bug reports | Survey taking | public | 2016-10-05 21:39 | 2016-10-18 15:57 |
Reporter | Mazi | Assigned To | ollehar | ||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.53 | ||||
Target Version | 2.54 | Fixed in Version | 2.55.x | ||
Summary | 11753: Date validation issues | ||||
Description | When validating dates the following issues show u:
| ||||
Steps To Reproduce |
| ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 2.53+161004 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | MySQL 5 | ||||
Server OS (if known) | Linux | ||||
Webserver software & version (if known) | Apache 2 | ||||
PHP Version | 5.5 | ||||
Question ID for second question is 12003. LEMval12003 is called three times when validating this question. but third time, jsName is "java757229X761X12002", and 12002 is the ID of the previous question. sdatetimePattern is undefined third time. |
|
Function LEMval from em_javacript.js is used to validate. |
|
Another problem: When running survey group by group, second datepicker won't work because of a JS error: Uncaught TypeError: minDate() Could not parse date parameter: {d1.NAOK} |
|
This line in qandas return null, even when $date_min = 'd1.NAOK'. 918: $date_time_em = strtotime(LimeExpressionManager::ProcessString("{".$date_min."}",$ia[0])); But only when running group-by-group. |
|
FYI, it works in 2.06lts to run it group-by-group. The validation is correct, even when calculated dynamically. |
|
Running LEMval('d1.NAOK') in the console on the second page returns a date in 2.06lts, but 'Invalid date' in 2.5. |
|
@aestu work hard to have a functionnal way with jquery-ui date ... but we quit jquery-ui date .... Maybe he can have some advice (he was the DEV about all of this) |
|
Please pull and test, Mazi. |
|
There's still an issue where it's possible to submit wrong date, question-by-question. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=21018 |
|
Version 2.54.4 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-10-05 21:39 | Mazi | New Issue | |
2016-10-05 21:39 | Mazi | File Added: wrong_date_validation.png | |
2016-10-05 21:39 | Mazi | File Added: limesurvey_survey_757229.lss | |
2016-10-13 15:30 | ollehar | Assigned To | => ollehar |
2016-10-13 15:30 | ollehar | Status | new => assigned |
2016-10-13 15:32 | ollehar | Note Added: 41306 | |
2016-10-13 15:33 | ollehar | Note Added: 41307 | |
2016-10-13 15:51 | ollehar | Note Added: 41310 | |
2016-10-13 15:59 | ollehar | Note Added: 41311 | |
2016-10-13 16:00 | ollehar | Note Edited: 41311 | |
2016-10-13 16:00 | ollehar | Note Edited: 41311 | |
2016-10-13 16:03 | ollehar | Note Edited: 41311 | |
2016-10-13 16:16 | ollehar | Note Added: 41312 | |
2016-10-13 17:03 | ollehar | Note Added: 41313 | |
2016-10-13 17:45 | DenisChenu | Note Added: 41314 | |
2016-10-14 11:42 | ollehar | Status | assigned => feedback |
2016-10-14 11:42 | ollehar | Note Added: 41344 | |
2016-10-14 11:44 | ollehar | Note Added: 41345 | |
2016-10-14 12:03 | ollehar | Changeset attached | => LimeSurvey master 0ef881cf |
2016-10-14 12:03 | ollehar | Note Added: 41346 | |
2016-10-14 12:03 | ollehar | Resolution | open => fixed |
2016-10-14 12:07 | ollehar | Status | feedback => resolved |
2016-10-14 12:07 | ollehar | Fixed in Version | => 2.55.x |
2016-10-18 15:57 | c_schmitz | Note Added: 41432 | |
2016-10-18 15:57 | c_schmitz | Status | resolved => closed |