View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
10928Bug reportsConditionspublic2016-04-18 22:48
Reporterakeyser Assigned Toollehar  
PriorityurgentSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.50.x 
Fixed in Version2.50.x 
Summary10928: Adding Conditions in the Conditions Designer does not work for Conditions based on Token Fields
Description

I am unable to add any conditions that depend on any Token attributes ("Token fields" in the Conditions Designer)

Steps To Reproduce
  1. Create a survey
  2. Add at least one additional token field
  3. Add a group and a question
  4. "Set conditions" for the question
  5. In the Conditions Designer, switch the Question tab to "Token fields", and select your new token attribute
  6. Leave the operator set to "Equals"
  7. Switch the Answer tab to "Constant"
  8. Enter a simple value, like "Y"
  9. Click Add Condition

Expected result:
Condition is added; in this case, the equivalent of {TOKEN:ATTRIBUTE_1 == 'Y'}

Actual result:
Condition is silently ignored without error.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)160413
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome 49
Database type & versionMySQL 5.6.27-log
Server OS (if known)Windows Server 2008 R2
Webserver software & version (if known)IIS 7.5
PHP Version5.6.14

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2016-04-18 12:43

administrator   ~37501

Last edited: 2016-04-18 12:43

Attach your test survey, please.

ollehar

ollehar

2016-04-18 15:14

administrator   ~37502

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

c_schmitz

c_schmitz

2016-04-18 22:48

administrator   ~37510

Version 2.06LTS Build 160417 released
Version 2.50+ Build 160418 released

Related Changesets

LimeSurvey: master f067b461

2016-04-18 12:43:12

ollehar

Details Diff
Fixed issue 10928: Adding Conditions in the Conditions Designer does not work for Conditions based on Token Fields Affected Issues
10928
mod - scripts/admin/conditions.js Diff File
mod - styles/Sea_Green/css/lime-admin-common.css Diff File

Issue History

Date Modified Username Field Change
2016-04-12 20:10 akeyser New Issue
2016-04-13 11:59 c_schmitz Product Version => 2.5
2016-04-13 11:59 c_schmitz Priority none => urgent
2016-04-13 11:59 c_schmitz Severity minor => partial_block
2016-04-18 12:42 ollehar Assigned To => ollehar
2016-04-18 12:42 ollehar Status new => assigned
2016-04-18 12:43 ollehar Note Added: 37501
2016-04-18 12:43 ollehar Note Edited: 37501
2016-04-18 13:00 ollehar Status assigned => acknowledged
2016-04-18 13:00 ollehar Sticky Issue No => Yes
2016-04-18 14:51 ollehar Status acknowledged => resolved
2016-04-18 14:51 ollehar Fixed in Version => 2.5
2016-04-18 14:51 ollehar Resolution open => fixed
2016-04-18 15:14 ollehar Changeset attached => LimeSurvey master f067b461
2016-04-18 15:14 ollehar Note Added: 37502
2016-04-18 17:23 ollehar Sticky Issue Yes => No
2016-04-18 22:48 c_schmitz Note Added: 37510
2016-04-18 22:48 c_schmitz Status resolved => closed