View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
07666Bug reportsOtherpublic2013-03-17 12:12
Reporterlorenzo51 Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary07666: Incorrect value of saved_date in saved_control table.
Description

When saving my responses in order to answer the survey at a later time, the saved_date field in saved_control table is always valorized with 1970-01-01 01:00:00.
On the other hand all dates (submitdate,startdate,datestamp) are correctly valorized in the survey table.

Concerning my installation, the problem seems to be connected to the instruction "$today = dateShift(date("Y-m-d H:i:s"), "Y-m-d H:i:s", $timeadjust);" in application\libraries\Save.php line 167, where the variable $timeadjust is not correctly valorized.
If I modify the above mentioned file, i.e. by setting the variable $timeadjust = "+1 hours", then the saved_date field in saved_control table is correctly valorized.

TagsNo tags attached.
Attached Files
Bug heat2
Complete LimeSurvey version number (& build)130311
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5.5.20
Server OS (if known)Windows
Webserver software & version (if known)Apache 2.2.21
PHP Version5.3.5

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2013-03-15 14:47

administrator   ~24696

Fix committed to 2.05 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=11894

c_schmitz

c_schmitz

2013-03-15 14:49

administrator   ~24698

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=11896

c_schmitz

c_schmitz

2013-03-17 12:12

administrator   ~24716

New version released.

Related Changesets

LimeSurvey: 2.05 39e481a1

2013-03-15 13:47:08

c_schmitz

Details Diff
Fixed issue 07666: Incorrect date value in saved_control table. Affected Issues
07666
mod - application/libraries/Save.php Diff File

LimeSurvey: master d62efe11

2013-03-15 13:47:08

c_schmitz

Details Diff
Fixed issue 07666: Incorrect date value in saved_control table. Affected Issues
07666
mod - application/libraries/Save.php Diff File

Issue History

Date Modified Username Field Change
2013-03-15 14:34 lorenzo51 New Issue
2013-03-15 14:34 lorenzo51 File Added: limesurvey_survey_696593.lss
2013-03-15 14:46 c_schmitz Assigned To => c_schmitz
2013-03-15 14:46 c_schmitz Status new => assigned
2013-03-15 14:47 c_schmitz Changeset attached => LimeSurvey 2.05 39e481a1
2013-03-15 14:47 c_schmitz Note Added: 24696
2013-03-15 14:47 c_schmitz Resolution open => fixed
2013-03-15 14:49 c_schmitz Changeset attached => LimeSurvey master d62efe11
2013-03-15 14:49 c_schmitz Note Added: 24698
2013-03-15 15:00 c_schmitz Status assigned => resolved
2013-03-15 15:00 c_schmitz Fixed in Version => 2.00+
2013-03-17 12:12 c_schmitz Note Added: 24716
2013-03-17 12:12 c_schmitz Status resolved => closed