View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
07268Bug reportsExpression Managerpublic2013-02-16 15:24
Reporterdanielschmitteurac Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary07268: Minimum/Maximum year in date field is broken for dropdown-variant
Description

The fields Minimum and Maximum year of the question type date/time are not evaluating expression for the dropdown-variant of the input fields.
It works fine with the popup-variant

Steps To Reproduce

Test with a simple expression like {date("Y") - 10}

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)130122
I will donate to the project if issue is resolvedNo
Browser
Database type & versionpostgres 8.4
Server OS (if known)linux
Webserver software & version (if known)apache2
PHP Version5.x

Users monitoring this issue

mfaber

Activities

c_schmitz

c_schmitz

2013-02-07 11:53

administrator   ~23980

Please attach a 1-question sample survey demonstrating the issue. Thank you.

danielschmitteurac

danielschmitteurac

2013-02-07 12:04

reporter   ~23981

The file limesurvey_survey_912371.lss includes an one question example, with the maximum year calculated by the expression {date("Y") - 10} and the minimum year given by 1933.
The drop down box only shows the year 2003.

c_schmitz

c_schmitz

2013-02-12 22:17

administrator   ~24047

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

c_schmitz

c_schmitz

2013-02-13 22:11

administrator   ~24059

New build 130213 released.

Related Changesets

LimeSurvey: master 7bf25bab

2013-02-12 21:16:08

c_schmitz

Details Diff
Fixed issue 07268: Expressions are not evaluated for minimum/maximum year in date field dropdown-variant Affected Issues
07268
mod - application/helpers/qanda_helper.php Diff File

Issue History

Date Modified Username Field Change
2013-02-05 13:10 danielschmitteurac New Issue
2013-02-05 14:14 mfaber Issue Monitored: mfaber
2013-02-07 11:53 c_schmitz Note Added: 23980
2013-02-07 11:53 c_schmitz Assigned To => c_schmitz
2013-02-07 11:53 c_schmitz Status new => feedback
2013-02-07 12:02 danielschmitteurac File Added: limesurvey_survey_912371.lss
2013-02-07 12:04 danielschmitteurac Note Added: 23981
2013-02-07 12:04 danielschmitteurac Status feedback => assigned
2013-02-12 22:16 c_schmitz Status assigned => resolved
2013-02-12 22:16 c_schmitz Fixed in Version => 2.00+
2013-02-12 22:16 c_schmitz Resolution open => fixed
2013-02-12 22:17 c_schmitz Changeset attached => LimeSurvey master 7bf25bab
2013-02-12 22:17 c_schmitz Note Added: 24047
2013-02-13 22:11 c_schmitz Note Added: 24059
2013-02-13 22:11 c_schmitz Status resolved => closed
2021-08-04 02:37 guest Bug heat 4 => 6