View Issue Details

This bug affects 1 person(s).
 16
IDProjectCategoryView StatusLast Update
11155Bug reportsSurvey editingpublic2016-06-06 16:27
Reporterdavet902 Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version2.50.x 
Fixed in Version2.50.x 
Summary11155: Survey start and end dates are stored correctly but load into the form incorrectly
Description

I have only noticed this since the last update. The survey summary page shows the correct dates, and the surveys are opened and (presumably) closed correctly.

In the "Publication and Access Control" the start and expiry dates are loaded into the form incorrectly, and in no way I can figure out. Seems the month and day are always right, but they years have ranged from 2001 to 2020; never the correct year, just some other year, and the same for both dates as far as I've seen.

The biggest problem with this is that the new dates are then saved, even if they make no sense (expiry in the past, expiry before start, etc). So, if editing the post-survey text, for example (and not looking at the publication dates at all) thee new dates are still saved along with other changes.

Steps To Reproduce

Presumably, save a survey, then re-open the general properties. That's all I did. I am using the yyyy-mm-dd date format, if that matters.

TagsNo tags attached.
Attached Files
Bug heat16
Complete LimeSurvey version number (& build) limesurvey250plus-build1605
I will donate to the project if issue is resolvedNo
Browserfirefox
Database type & versionmysql
Server OS (if known)lunic
Webserver software & version (if known)apache
PHP Version5.5

Relationships

has duplicate 11339 closedc_schmitz Start date/time and Expiry date/time values not visible 
has duplicate 11344 closedc_schmitz Date fields are persisted but not showed in Survey properties -> General settings & texts -> Publication & access control 

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2016-05-11 16:17

administrator   ~38356

What is the exact build number?

davet902

davet902

2016-05-11 16:21

reporter   ~38357

I submitted the full filename, which includes the build #, unless I'm missing something here ... limesurvey250plus-build1605.

c_schmitz

c_schmitz

2016-05-11 16:27

administrator   ~38359

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

c_schmitz

c_schmitz

2016-05-11 16:27

administrator   ~38360

THat is not the full filename, where did you download that one?

davet902

davet902

2016-05-11 16:55

reporter   ~38369

Sorry, it's 160506 ... from https://www.limesurvey.org/downloads/category/25-latest-stable-release. Must have missed the last two digits on the copy.

limesurvey250plus-build160506.zip

c_schmitz

c_schmitz

2016-05-12 10:38

administrator   ~38415

Version 2.50 Build 160512 released

c_schmitz

c_schmitz

2016-06-05 17:33

administrator   ~39226

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

c_schmitz

c_schmitz

2016-06-05 17:33

administrator   ~39227

There was another fix needed to properly load the stored dates.

c_schmitz

c_schmitz

2016-06-06 15:16

administrator   ~39246

Version 2.50 Release 160606 released

Related Changesets

LimeSurvey: master afce56f7

2016-05-11 14:26:50

c_schmitz

Details Diff
Fixed issue 11155: Survey start and end dates are loaded into the form incorrectly Affected Issues
11155
mod - application/controllers/admin/surveyadmin.php Diff File

LimeSurvey: master 9bc39b2d

2016-06-05 15:32:52

c_schmitz

Details Diff
Fixed issue 11155: Survey start and end dates are loaded into the form incorrectly Affected Issues
11155
mod - application/controllers/admin/surveyadmin.php Diff File

Issue History

Date Modified Username Field Change
2016-05-11 14:42 davet902 New Issue
2016-05-11 14:42 davet902 File Added: LimesurveyFormDateProblem.png
2016-05-11 16:17 c_schmitz Note Added: 38356
2016-05-11 16:17 c_schmitz Product Version 2.06+ => 2.5
2016-05-11 16:21 davet902 Note Added: 38357
2016-05-11 16:25 c_schmitz Assigned To => c_schmitz
2016-05-11 16:25 c_schmitz Status new => assigned
2016-05-11 16:27 c_schmitz Changeset attached => LimeSurvey master afce56f7
2016-05-11 16:27 c_schmitz Note Added: 38359
2016-05-11 16:27 c_schmitz Resolution open => fixed
2016-05-11 16:27 c_schmitz Status assigned => resolved
2016-05-11 16:27 c_schmitz Fixed in Version => 2.5
2016-05-11 16:27 c_schmitz Note Added: 38360
2016-05-11 16:55 davet902 Note Added: 38369
2016-05-12 10:38 c_schmitz Note Added: 38415
2016-05-12 10:38 c_schmitz Status resolved => closed
2016-06-05 17:31 c_schmitz Relationship added has duplicate 11339
2016-06-05 17:32 c_schmitz Status closed => feedback
2016-06-05 17:32 c_schmitz Resolution fixed => reopened
2016-06-05 17:33 c_schmitz Changeset attached => LimeSurvey master 9bc39b2d
2016-06-05 17:33 c_schmitz Note Added: 39226
2016-06-05 17:33 c_schmitz Note Added: 39227
2016-06-05 17:33 c_schmitz Status feedback => resolved
2016-06-05 17:33 c_schmitz Resolution reopened => fixed
2016-06-06 15:16 c_schmitz Note Added: 39246
2016-06-06 15:16 c_schmitz Status resolved => closed
2016-06-06 16:27 c_schmitz Relationship added has duplicate 11344
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing