View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
05971Bug reportsSurvey takingpublic2012-04-05 19:16
Reporternkorf Assigned ToTMSWhite  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary05971: Strange behavior of expression manager - static equation results not visible
Description

Hi, i am designing a survey for data entry purposes. I use a group by group format. I have one group where we enter the data and a second group where a number is displayed and written down for the user to know that this corresponds to the hard copy version I used the time() function from the expression manager to do that and saved it as an equation question. Then i use a text display question to show this equation but nothing gets displayed.

Steps To Reproduce

Import the attached survey and run it.

TagsNo tags attached.
Attached Files
problem_time_43427.lss (21,846 bytes)
Bug heat6
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version

Users monitoring this issue

nkorf

Activities

TMSWhite

TMSWhite

2012-04-02 18:30

reporter   ~18173

When equations do not include any dynamic (on page) change, the <span> element is populated with the proper value, but the javaSGQA variable for storing the value is not initialized with the proper value. So, downstream logic fails.

This is not a problem if the equation value is dynamically updated during the survey.

TMSWhite

TMSWhite

2012-04-02 18:45

reporter   ~18174

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

TMSWhite

TMSWhite

2012-04-04 04:27

reporter   ~18183

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=8078

c_schmitz

c_schmitz

2012-04-05 19:16

administrator   ~18234

New 1.92+ version released.

Related Changesets

LimeSurvey: master a076263e

2012-04-02 09:47:08

TMSWhite

Details Diff
Fixed issue 05971: Strange behavior of expression manager - static equation results not visible Affected Issues
05971
mod - qanda.php Diff File

LimeSurvey: Yii b9445db1

2012-04-03 19:00:25

TMSWhite

Details Diff
Fixed issue 05971: Strange behavior of expression manager - static equation results not visible Affected Issues
05971
mod - application/helpers/qanda_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-04-01 04:53 nkorf New Issue
2012-04-01 04:53 nkorf File Added: problem_time_43427.lss
2012-04-01 04:55 nkorf Issue Monitored: nkorf
2012-04-02 18:24 TMSWhite Project Development => Bug reports
2012-04-02 18:26 TMSWhite Product Version 1.92RC2 => 1.92+
2012-04-02 18:30 TMSWhite Note Added: 18173
2012-04-02 18:43 TMSWhite Summary Strange behavior of expression manager => Strange behavior of expression manager - static equation results not visible
2012-04-02 18:45 TMSWhite Changeset attached => LimeSurvey master a076263e
2012-04-02 18:45 TMSWhite Note Added: 18174
2012-04-02 18:45 TMSWhite Assigned To => TMSWhite
2012-04-02 18:45 TMSWhite Resolution open => fixed
2012-04-02 18:46 TMSWhite Status new => resolved
2012-04-02 18:46 TMSWhite Fixed in Version => 1.92+
2012-04-04 04:27 TMSWhite Changeset attached => LimeSurvey Yii b9445db1
2012-04-04 04:27 TMSWhite Note Added: 18183
2012-04-05 19:16 c_schmitz Note Added: 18234
2012-04-05 19:16 c_schmitz Status resolved => closed
2021-08-02 22:21 guest Bug heat 4 => 6