View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06648Bug reportsSurvey editingpublic2012-10-09 22:39
Reporterdocl Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary06648: Advanced date/time input with dropdown box of only "year" creates "date is not valid" error
Description

Trying to create a date/time input where user can only select a year (and specifically a year within a specified range). The input is easily created and also creates the correct format and range for the user to choose from, but when a year is chosen, it generates a "date is not valid" error.

Steps To Reproduce

create date/time input

select advanced and select:
show dropdown box
"yyyy" as format
range eg 2000 to 2010

test question and select a year - "date is not valid" error is generated instantly

TagsNo tags attached.
Attached Files
survey_bug_example.lsa (3,351 bytes)
Bug heat4
Complete LimeSurvey version number (& build)121002
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5.1.63-0+squeeze1
Server OS (if known)Linux
Webserver software & version (if known)Apache/2.2.16 (Debian)
PHP Version5.3.17

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-10-05 09:14

administrator   ~21047

Please always attach a sample survey demonstrating the issue as .lss file. Thank you.

docl

docl

2012-10-06 15:35

reporter   ~21097

Sorry, a sample survey is now uploadet..
To reproduce this bug, simply try to fill out the year in the survey..

c_schmitz

c_schmitz

2012-10-09 13:55

administrator   ~21126

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

c_schmitz

c_schmitz

2012-10-09 22:39

administrator   ~21142

2.00+ Build 121009 released. Please update.

Related Changesets

LimeSurvey: master 64241321

2012-10-09 04:55:25

c_schmitz

Details Diff
Fixed issue 06648: Advanced date/time input with dropdown box of only "year" creates "date is not valid" error Affected Issues
06648
mod - scripts/date.js Diff File

Issue History

Date Modified Username Field Change
2012-10-04 18:09 docl New Issue
2012-10-05 09:14 c_schmitz Note Added: 21047
2012-10-05 09:14 c_schmitz Assigned To => c_schmitz
2012-10-05 09:14 c_schmitz Status new => feedback
2012-10-06 15:35 docl Note Added: 21097
2012-10-06 15:35 docl Status feedback => assigned
2012-10-06 15:35 docl File Added: survey_bug_example.lsa
2012-10-09 13:55 c_schmitz Changeset attached => LimeSurvey master 64241321
2012-10-09 13:55 c_schmitz Note Added: 21126
2012-10-09 13:55 c_schmitz Resolution open => fixed
2012-10-09 13:56 c_schmitz Status assigned => resolved
2012-10-09 13:56 c_schmitz Fixed in Version => 2.00+
2012-10-09 22:39 c_schmitz Note Added: 21142
2012-10-09 22:39 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing