LimeSurvey issue tracker
Registration

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
04672Bug reports[All Projects] Survey takingpublic2010-10-12 20:362010-10-24 17:21
Reporterluke 
Assigned Toc_schmitz 
PriorityhighSeveritymajor 
StatusclosedResolutionfixed 
Product Version1.90+ 
Target VersionFixed in Version1.90+ 
Summary04672: Date field losing responses
DescriptionResponses already entered are not showing on the screen when using the Previous/Next buttons.
Steps To Reproduce1. 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 InformationThe 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.
I will donate to the project if issue is resolved within 48 hrs
LimeSurvey build number OR git commit ID0000
Browser
Database & DB-Versiondemo server
Operating System (Server)demo server
Webserver software & versiondemo server
PHP Versiondemo server
Attached Files? file icon date_fields_test.lss [^] (14,994 bytes) 2010-10-12 21:13
patch file icon patch04672.patch [^] (1,014 bytes) 2010-10-15 08:55 [Show Content]

- Relationships

-  Notes
User avatar (13179)
Mazi (developer)
2010-10-14 15:07

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
User avatar (13196)
luke (reporter)
2010-10-15 00:44

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.
(13197)
user7171
2010-10-15 08:56
edited on: 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.

User avatar (13215)
DenisChenu (developer)
2010-10-16 21:27

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.
(13220)
user7171
2010-10-16 23:13

Hey Shnoulle,

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.
User avatar (13230)
DenisChenu (developer)
2010-10-18 12:54

Hi anishseth, sorry, i made an error, i don't read whole bug reprot, and i don't see if we came at start ....

Sorry !
(13232)
user7171
2010-10-18 17:11

Hey Luke, I am afraid that upgrade is the only option.
User avatar (13234)
luke (reporter)
2010-10-18 18:39

anishseth, are you saying that the patch will not be a "one liner" ?
(13288)
user7171
2010-10-20 13:29
edited on: 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)

User avatar (13292)
lemeur (administrator)
2010-10-20 22:14

I think I've fixed this in patch 9289.
Can anyone test?

Thibault
(13300)
user7171
2010-10-21 16:09

Hey Thibault,

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.

Anish
User avatar (13302)
c_schmitz (administrator)
2010-10-21 21:20

Fixed in rev 9294
User avatar (13325)
c_schmitz (administrator)
2010-10-24 17:21

1.90plus version released.

- Issue History
Date Modified Username Field Change
2010-10-12 20:36 luke New Issue
2010-10-12 21:13 luke File Added: date_fields_test.lss
2010-10-14 09:20 user7171 Assigned To => user7171
2010-10-14 09:20 user7171 Status new => assigned
2010-10-14 15:07 Mazi Note Added: 13179
2010-10-14 18:22 user7171 File Added: patch04672.patch
2010-10-14 22:52 c_schmitz File Deleted: patch04672.patch
2010-10-15 00:44 luke Note Added: 13196
2010-10-15 08:55 user7171 File Added: patch04672.patch
2010-10-15 08:56 user7171 Note Added: 13197
2010-10-15 08:56 user7171 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
2010-10-16 23:13 user7171 Note Added: 13220
2010-10-16 23:17 c_schmitz Status resolved => assigned
2010-10-18 12:54 DenisChenu Note Added: 13230
2010-10-18 17:11 user7171 Note Added: 13232
2010-10-18 18:39 luke Note Added: 13234
2010-10-20 13:29 user7171 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
2010-10-21 16:09 user7171 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


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker