View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05982Bug reportsSurvey editingpublic2012-04-05 19:16
ReporterAaron Assigned ToTMSWhite  
PriorityhighSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary05982: Wrong replacement field properties
Description

For optionlists the replacement of the variable is not the "answer option" but the "code" of the "answer option".
Before the last Update (1.92+ Build 120330) it works fine.

Steps To Reproduce

I ve created an example here: http://demo.limesurvey.org/index.php?sid=92358

  1. Create a question (type optionlist) - Code eg. A1
  2. Create a other question (Code eg. B2) and use the replacement field properties in the question
TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)120330
I will donate to the project if issue is resolvedYes
BrowserFirefox and others
Database type & versionMySql newest version
Server OS (if known)Apache Debian
Webserver software & version (if known)---
PHP Versionphp 5+

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-04-04 15:23

administrator   ~18194

Thomas, that sounds like a bug to me. Shouldn't it give back the answer itself?
Aaron, can you please attach the .lss file here? The demo is wiped every other day.

TMSWhite

TMSWhite

2012-04-04 16:00

reporter   ~18195

Yes, that's a bug specifically with off-page INSERTANS:xxxx. Qcode.shown works properly both on and off page.

The best survey for testing this is /docs/demosurveys/ls2_EM_question_attributes.lss

TMSWhite

TMSWhite

2012-04-04 17:49

reporter   ~18196

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

TMSWhite

TMSWhite

2012-04-04 19:51

reporter   ~18200

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

c_schmitz

c_schmitz

2012-04-05 19:16

administrator   ~18229

New 1.92+ version released.

Related Changesets

LimeSurvey: master 1b62254a

2012-04-04 08:48:57

TMSWhite

Details Diff
Fixed issue 05982: Wrong replacement field properties Affected Issues
05982
mod - classes/expressions/LimeExpressionManager.php Diff File

LimeSurvey: Yii 806c703e

2012-04-04 10:53:01

TMSWhite

Details Diff
Fixed issue 05982: Wrong replacement field properties Affected Issues
05982
mod - application/helpers/expressions/em_manager_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-04-04 10:37 Aaron New Issue
2012-04-04 15:22 c_schmitz Assigned To => TMSWhite
2012-04-04 15:22 c_schmitz Status new => assigned
2012-04-04 15:23 c_schmitz Note Added: 18194
2012-04-04 16:00 TMSWhite Note Added: 18195
2012-04-04 16:18 Aaron File Added: limesurvey_survey_92358.lss
2012-04-04 17:49 TMSWhite Changeset attached => LimeSurvey master 1b62254a
2012-04-04 17:49 TMSWhite Note Added: 18196
2012-04-04 17:49 TMSWhite Resolution open => fixed
2012-04-04 17:49 TMSWhite Status assigned => resolved
2012-04-04 17:49 TMSWhite Fixed in Version => 1.92+
2012-04-04 19:51 TMSWhite Changeset attached => LimeSurvey Yii 806c703e
2012-04-04 19:51 TMSWhite Note Added: 18200
2012-04-05 19:16 c_schmitz Note Added: 18229
2012-04-05 19:16 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing