View Issue Details

IDProjectCategoryView StatusLast Update
14196Bug reports[All Projects] Survey takingpublic2018-11-15 15:13
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version3.15.x 
Target VersionFixed in Version3.15.x 
Summary14196: Unable to use dynamic mindate and maxdate
Description

When using mindate with expression : this broke JS

Steps To Reproduce

Import included survey : min_date on D is set to minDate.NAOK

Additional Information

It work like a charm in 2.6lts, in 2.73 : need more test to set a better minimal value (else year can not be set to 2018), totally broke in 3.15 lts

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.15.1 github
I will donate to the project if issue is resolvedNo
Browsernot relevant (FF)
Database & DB-Versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Activities

DenisChenu

DenisChenu

2018-10-30 11:00

developer  

limesurvey_survey_date_mindateKO.lss (20,358 bytes)
DenisChenu

DenisChenu

2018-10-30 11:01

developer  

DenisChenu

DenisChenu

2018-10-30 11:16

developer   ~49484

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

Related Changesets

LimeSurvey: master 2f4eb590

2018-10-30 11:16:32

DenisChenu

Details Diff
Fixed issue 14196: Unable to use dynamic mindate and maxdate
Dev: slice not available, but better in
Dev allow, for example : {year.NAOK}-01-01 (else need {year.NAOK+"-01-01"}
Affected Issues
14196
mod - application/views/survey/questions/answer/date/selector/answer.twig Diff File

Issue History

Date Modified Username Field Change
2018-10-30 11:00 DenisChenu New Issue
2018-10-30 11:00 DenisChenu File Added: limesurvey_survey_date_mindateKO.lss
2018-10-30 11:01 DenisChenu File Added: Capture du 2018-10-30 11-01-02.png
2018-10-30 11:14 DenisChenu Assigned To => DenisChenu
2018-10-30 11:14 DenisChenu Status new => assigned
2018-10-30 11:16 DenisChenu Changeset attached => LimeSurvey master 2f4eb590
2018-10-30 11:16 DenisChenu Note Added: 49484
2018-10-30 11:16 DenisChenu Resolution open => fixed
2018-10-30 15:07 DenisChenu Status assigned => resolved
2018-10-30 15:07 DenisChenu Fixed in Version => 3.15.x
2018-11-15 15:13 dominikvitt Status resolved => closed