View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
03675Bug reportsSurvey takingpublic2009-09-14 20:42
Reporteruser4786Assigned Touser372 
PrioritynormalSeverityminor 
Status closedResolutionduplicate 
Product Version1.85+ 
Summary03675: Datefield changes value after going back to previous page
Description

A mandatory Datefield (with datepicker) as last question in first page (1) changes to a different date, when going back to this page.

Day is always changed to 20.
Sometimes Month changes too.
Year stays the same.

Even non mandatory Datefields get a value (Day: 19).
After this, going on to next page the date changes on next page (2) too.

Can anyone confirm this behavior?

Additional Information

Its always on deactivated Surveys.
Its sometimes on surveys that are activated.
Going more than one time to prevoius page, Day in non mandatory fields raises to 20.

Version 1.85+ (7593)

TagsNo tags attached.
Attached Files
limesurvey_survey_79326.csv (3,823 bytes)   
# LimeSurvey Survey Dump
# DBVersion 138
# This is a dumped survey from the LimeSurvey Script
# http://www.limesurvey.org/
# Do not change this header!

#
# SURVEYS TABLE
#
"sid","owner_id","admin","active","expires","startdate","adminemail","private","faxto","format","template","language","additional_languages","datestamp","usecookie","notification","allowregister","allowsave","autonumber_start","autoredirect","allowprev","printanswers","ipaddr","refurl","datecreated","publicstatistics","publicgraphs","listpublic","htmlemail","tokenanswerspersistence","assessments","usecaptcha","usetokens","bounce_email","attributedescriptions"
"79326","4","andreas nowak","N","","","nowidid@gmx.de","Y","","G","gtz","en","","N","N","0","N","Y","4","N","Y","N","N","N","2009-09-11","N","N","N","Y","N","N","D","N","nowidid@gmx.de",""

#
# GROUPS TABLE
#
"gid","sid","group_name","group_order","description","language"
"47","79326","001","0","","en"
"48","79326","002","1","","en"
"49","79326","003","2","","en"

#
# QUESTIONS TABLE
#
"qid","sid","gid","type","title","question","preg","help","other","mandatory","lid","lid1","question_order","language"
"269","79326","47","D","001","","","","N","N","0","0","0","en"
"270","79326","47","D","002","","","","N","Y","0","0","1","en"
"271","79326","48","D","003","","","","N","N","0","0","0","en"
"272","79326","49","T","004","","","","N","N","0","0","0","en"
"275","79326","48","T","003A","","","","N","Y","0","0","1","en"

#
# ANSWERS TABLE
#

#
# CONDITIONS TABLE
#

#
# LABELSETS TABLE
#

#
# LABELS TABLE
#

#
# QUESTION_ATTRIBUTES TABLE
#

#
# ASSESSMENTS TABLE
#

#
# SURVEYS_LANGUAGESETTINGS TABLE
#
"surveyls_survey_id","surveyls_language","surveyls_title","surveyls_description","surveyls_welcometext","surveyls_endtext","surveyls_url","surveyls_urldescription","surveyls_email_invite_subj","surveyls_email_invite","surveyls_email_remind_subj","surveyls_email_remind","surveyls_email_register_subj","surveyls_email_register","surveyls_email_confirm_subj","surveyls_email_confirm","surveyls_dateformat"
"79326","en","test02","test02 datefield mandatory ","","","","","Invitation to participate in survey","Dear {FIRSTNAME},\n\nYou have been invited to participate in a survey.\n\nThe survey is titled:\n""{SURVEYNAME}""\n\n""{SURVEYDESCRIPTION}""\n\nTo participate, please click on the link below.\n\nSincerely,\n\n{ADMINNAME} ({ADMINEMAIL})\n\n----------------------------------------------\nClick here to do the survey:\n{SURVEYURL}","Reminder to participate in survey","Dear {FIRSTNAME},\n\nRecently we invited you to participate in a survey.\n\nWe note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.\n\nThe survey is titled:\n""{SURVEYNAME}""\n\n""{SURVEYDESCRIPTION}""\n\nTo participate, please click on the link below.\n\nSincerely,\n\n{ADMINNAME} ({ADMINEMAIL})\n\n----------------------------------------------\nClick here to do the survey:\n{SURVEYURL}","Survey registration confirmation","Dear {FIRSTNAME},\n\nYou, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.\n\nTo complete this survey, click on the following URL:\n\n{SURVEYURL}\n\nIf you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}.","Confirmation of completed survey","Dear {FIRSTNAME},\n\nThis email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.\n\nIf you have any further questions about this email, please contact {ADMINNAME} at {ADMINEMAIL}.\n\nSincerely,\n\n{ADMINNAME}","1"

#
# QUOTA TABLE
#

#
# QUOTA_MEMBERS TABLE
#

#
# QUOTA_LANGUAGESETTINGS TABLE
#

limesurvey_survey_79326.csv (3,823 bytes)   
Bug heat8
Complete LimeSurvey version number (& build)7593
I will donate to the project if issue is resolved
Browser
Database type & versionMysql 5.0.32
Server OS (if known)Debian etch - Linux 2.6.18-4-amd64
Webserver software & version (if known)Apache 2.2
PHP Version5.2

Relationships

duplicate of 03651 closedc_schmitz very old dates default to 1969-12-31 

Users monitoring this issue

There are no users monitoring this issue.

Activities

jelo

jelo

2009-09-11 12:59

partner   ~09529

I can reproduce the bug.

The empty datefields get filled when skipping back and forwards.
The mandatory field get changed.

Empty field shows 19.09.2001.
Mandatory field changes from 01.09.2009 to 20.09.2009
When going back and forwards again the empty field changes to 20.09.2001.
Another back and forwards brings the empty field to 20.01.2009
The empty field on the second page changes too.

When changing the date format via "Edit survey settings"
from dd.mm.yyyy to yyyy.mm.dd follwing behaviour can be observed:

The empty datefields get filled when skipping back and forwards.
The mandatory field get NOT changed.

When nothing is entered (no mandatory datefield) and you go back both
date fields on the first page show 19.09.2001.

All above was done in testmode.

user4786

2009-09-11 16:17

  ~09531

I get rid of the problem now by following steps.

  1. edit the survey settings and allow saves.
  2. activate the survey.
  3. the date fields wont change on going back and forward.
  4. if you dont want the users save the session add in template.css
    input.saveall {display:none;}

The above described behavior remains on deactivated surveys and if you dont allow saves in survey settings.

Mazi

Mazi

2009-09-14 13:56

updater   ~09546

Maybe this is connected to http://bugs.limesurvey.org/view.php?id=3651 and already solved?

Can you reproduce with the latest version?

jelo

jelo

2009-09-14 14:16

partner   ~09547

Bug 3651:
How can I find out in which build the fix was applied, if the developer didn't mentioned it in a comment in the bugtracker? Is that hidden somewhere in mantis?

I used Version 1.85+ (7593). I currently didn't fetch SVN. So cannot comment if it already fixed.

c_schmitz

c_schmitz

2009-09-14 20:42

administrator   ~09554

A new version will be released most probably today.

Issue History

Date Modified Username Field Change
2009-09-11 01:09 user4786 New Issue
2009-09-11 01:09 user4786 Status new => assigned
2009-09-11 01:09 user4786 Assigned To => user372
2009-09-11 01:09 user4786 File Added: limesurvey_survey_79326.csv
2009-09-11 01:09 user4786 Build Number => 7593
2009-09-11 01:09 user4786 Database & DB-Version => Mysql 5.0.32
2009-09-11 01:09 user4786 Operating System (Server) => Debian etch - Linux 2.6.18-4-amd64
2009-09-11 01:09 user4786 Webserver => Apache 2.2
2009-09-11 01:09 user4786 PHP Version => 5.2
2009-09-11 01:11 user4786 Issue Monitored: user4786
2009-09-11 12:59 jelo Note Added: 09529
2009-09-11 16:17 user4786 Note Added: 09531
2009-09-14 13:56 Mazi Note Added: 09546
2009-09-14 13:57 Mazi Status assigned => feedback
2009-09-14 14:16 jelo Note Added: 09547
2009-09-14 20:41 c_schmitz Relationship added duplicate of 03651
2009-09-14 20:42 c_schmitz Note Added: 09554
2009-09-14 20:42 c_schmitz Status feedback => closed
2009-09-14 20:42 c_schmitz Resolution open => duplicate
2010-10-25 00:18 c_schmitz Category Survey at Runtime => Survey taking