|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|04672||Bug reports||[All Projects] Survey taking||public||2010-10-12 20:36||2010-10-24 17:21|
|Target Version||Fixed in Version||1.90+|
|Summary||04672: Date field losing responses|
|Description||Responses already entered are not showing on the screen when using the Previous/Next buttons.|
|Steps To Reproduce||1. The test survey is attached.|
2. Go to the first group and select a valid date.
3. Click "Next"
4. Click "Previous" (the responses are there)
5. Click "Previous" again (to the start page)
6. Click "Next" (responses are gone!!!!!!!!!)
|Additional Information||The problem also occurs when using the "calendar" mode (instead of the dropdowns as in the attached survey). In step 6, a valid response gets changed to some random date.|
|Tags||No tags attached.|
|Complete LimeSurvey version number (& build)||0000|
|I will donate to the project if issue is resolved|
|Database & DB-Version||demo server|
|Operating System (Server)||demo server|
|Webserver software & version||demo server|
|PHP Version||demo server|
I can reproduce the problem. After having gone back to the welcome screen and clicking next to get to the date question, the following errors are shown on top at the date questions:
Notice: Undefined offset: 2 in C:\xampp\htdocs\limeSOURCE\limesurvey_svn\qanda.php on line 1572
Notice: Undefined offset: 1 in C:\xampp\htdocs\limeSOURCE\limesurvey_svn\qanda.php on line 1572
|Anishseth, could you please post the patch details here or send me a private message on forums? I need to fix this bug in my 1.87ver based survey (I can not upgrade as my code is already customized). Please let me know. Thanks.|
Last edited: 2010-10-15 08:56
Hey Luke, I am uploading the patch here, however it is just a temporary workaround, a proper patch will be committed soon.
anishseth, but when i found 04671 resolving. Seem to work with this one TOO.
Now LS don't change $_POST varaible.
Can you confirm the resolution in 9259, please.
I am unable to infer what you wanna say in the first line, As far as the second and third line is concerned, i have checked it and as far as i know it is still not working the way it should in the rev 9259. Correct me if i am wrong.Thanks.
Hi anishseth, sorry, i made an error, i don't read whole bug reprot, and i don't see if we came at start ....
|Hey Luke, I am afraid that upgrade is the only option.|
|anishseth, are you saying that the patch will not be a "one liner" ?|
Last edited: 2010-10-20 13:54
no, i am saying that the patch is based on other changes in 1.90 and cannot be backported (at least not with reasonable effort)
I think I've fixed this in patch 9289.
Can anyone test?
The loosing date was fixed and committed earlier i think, however the weird date coming out still needs to be fixed, and is not fixed in 9289.
|Fixed in rev 9294|
|1.90plus version released.|
|2010-10-12 20:36||luke||New Issue|
|2010-10-12 21:13||luke||File Added: date_fields_test.lss|
||Assigned To||=> user7171|
||Status||new => assigned|
|2010-10-14 15:07||Mazi||Note Added: 13179|
||File Added: patch04672.patch|
|2010-10-14 22:52||c_schmitz||File Deleted: patch04672.patch|
|2010-10-15 00:44||luke||Note Added: 13196|
||File Added: patch04672.patch|
||Note Added: 13197|
||Note Edited: 13197||View Revisions|
|2010-10-16 21:27||DenisChenu||Note Added: 13215|
|2010-10-16 21:27||DenisChenu||Status||assigned => resolved|
|2010-10-16 21:27||DenisChenu||Fixed in Version||=> 1.90+|
|2010-10-16 21:27||DenisChenu||Resolution||open => fixed|
||Note Added: 13220|
|2010-10-16 23:17||c_schmitz||Status||resolved => assigned|
|2010-10-18 12:54||DenisChenu||Note Added: 13230|
||Note Added: 13232|
|2010-10-18 18:39||luke||Note Added: 13234|
||Note Added: 13288|
|2010-10-20 13:54||c_schmitz||Note Edited: 13288||View Revisions|
|2010-10-20 22:14||lemeur||Note Added: 13292|
|2010-10-20 22:14||lemeur||Status||assigned => feedback|
||Note Added: 13300|
|2010-10-21 21:20||c_schmitz||Note Added: 13302|
|2010-10-21 21:20||c_schmitz||Status||feedback => resolved|
|2010-10-21 21:20||c_schmitz||Assigned To||user7171 => c_schmitz|
|2010-10-24 17:21||c_schmitz||Note Added: 13325|
|2010-10-24 17:21||c_schmitz||Status||resolved => closed|
|2010-10-25 00:18||c_schmitz||Category||Survey at Runtime => Survey taking|