View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
08484Bug reportsSurvey takingpublic2014-01-25 17:22
Reportermfaber Assigned Tomfaber  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05+ 
Target Version2.05+Fixed in Version2.05+ 
Summary08484: Date question: expressions in adv. attrib. min/max date do not work if variables are on the same page
Description

example:
date question with minimum date containing the following expression:
date("Y-m-d", strtotime(from)+3243600)

If the variable from is on the same page then minimum does not work in datepicker. If from is on a previous page everything works as it should.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)131222
I will donate to the project if issue is resolvedNo
BrowserFF, Chrome
Database type & versionMySQL 5.0.10
Server OS (if known)Win7
Webserver software & version (if known)Apache/2.4.4 (Win32)
PHP VersionPhP 5.4.19

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2014-01-18 16:50

administrator   ~27993

mfaber, is this still unresolved?

mfaber

mfaber

2014-01-19 01:16

reporter   ~27997

yes and no ;).
The open pull request at https://github.com/LimeSurvey/LimeSurvey/pull/166 contains a commit which fixes this issue.

mfaber

mfaber

2014-01-19 01:23

reporter   ~28000

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

c_schmitz

c_schmitz

2014-01-25 17:22

administrator   ~28159

2.05+ Build 140125 released

Related Changesets

LimeSurvey: master dcb01428

2014-01-09 22:56:13

mfaber


Committer: mfaber Details Diff
Fixed issue 08484: expressions in min/max date referring to questions on same page

Dev: Expressions in adv. attribute min/maxdate also work for the date
picker
Dev: if variables in the expression refer to questions on the same page.
Affected Issues
08484
mod - application/helpers/qanda_helper.php Diff File

Issue History

Date Modified Username Field Change
2013-12-22 00:47 mfaber New Issue
2013-12-22 00:47 mfaber Status new => assigned
2013-12-22 00:47 mfaber Assigned To => mfaber
2014-01-18 16:50 c_schmitz Note Added: 27993
2014-01-19 01:16 mfaber Note Added: 27997
2014-01-19 01:23 mfaber Changeset attached => LimeSurvey master dcb01428
2014-01-19 01:23 mfaber Note Added: 28000
2014-01-19 01:23 mfaber Resolution open => fixed
2014-01-19 01:23 c_schmitz Status assigned => resolved
2014-01-19 01:23 c_schmitz Fixed in Version => 2.05+
2014-01-25 17:22 c_schmitz Note Added: 28159
2014-01-25 17:22 c_schmitz Status resolved => closed