View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
06349Bug reportsConditionspublic2012-07-25 15:43
Reporteruser20965Assigned Totpartner  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary06349: condition does not work while using slider with stars
Description

This is same issue as ID 05580. Reported as fixed, but experiencing same issue in Version 1.92+ Build 120718

Question one is a 5 point choice with slider and stars.
Question two is a Long free text with the condition "Show only if answer of question one is less than 3".

But it does not work with me, question 2 never appears btw. is not visible no matter what the answer of question one is.

Steps To Reproduce
  • Create question one as a 5 point choice with slider and stars.
  • Create question two as a Long free text
  • For question two set condition "answer of question one -> less than -> 3"
Additional Information

You can see the test site i'm building the questionaire at:
http://survey.danielkenneth.com/index.php?sid=13133&lang=en

every star question has a follow up question with a free-text box if you respond with <3.

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)120718
I will donate to the project if issue is resolvedYes
BrowserIE 9 and Chrome
Database type & versionMySql 5.1.63-cll
Server OS (if known)linux
Webserver software & version (if known)Apache 2.2.21
PHP Version5.2.17

Users monitoring this issue

There are no users monitoring this issue.

Activities

TMSWhite

TMSWhite

2012-07-20 06:49

reporter   ~19852

The problem is in the JavaScript that manages the stars. It needs to call checkconditions(value,name,type). Otherwise, the value won't be saved to the database, and the conditions won't be triggered.

c_schmitz

c_schmitz

2012-07-20 10:23

administrator   ~19857

Tony, can you give it a try, please?

TMSWhite

TMSWhite

2012-07-20 22:06

reporter   ~19892

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

TMSWhite

TMSWhite

2012-07-20 22:12

reporter   ~19893

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

TMSWhite

TMSWhite

2012-07-20 22:13

reporter   ~19894

Now works for 1.92+
Additional work needed on 2.0, as the stars do not show at all.

user20965

2012-07-20 22:21

  ~19895

excellent, works! Thanks, Tony.

DenisChenu

DenisChenu

2012-07-21 14:12

developer   ~19897

Last edited: 2012-07-21 14:13

<q>Additional work needed on 2.0, as the stars do not show at all. </q>

https://github.com/LimeSurvey/LimeSurvey/commit/22d3f57064981238a07fc4ee7ddbb5c540dcd1ab :)

Tested too with condition.

Related Changesets

LimeSurvey: master c27f1cef

2012-07-20 13:05:19

TMSWhite

Details Diff
Fixed issue 06349: condition does not work while using slider with stars Affected Issues
06349
mod - qanda.php Diff File

LimeSurvey: Yii d1a5d525

2012-07-20 13:11:41

TMSWhite

Details Diff
Fixed issue 06349: condition does not work while using slider with stars
Dev this fixes bug from 1.92, but stars do not display at all in 2.0, so there is an additional bug there.
Affected Issues
06349
mod - application/helpers/qanda_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-07-20 00:55 user20965 New Issue
2012-07-20 00:55 user20965 Issue Monitored: user20965
2012-07-20 06:49 TMSWhite Note Added: 19852
2012-07-20 10:23 c_schmitz Assigned To => tpartner
2012-07-20 10:23 c_schmitz Status new => assigned
2012-07-20 10:23 c_schmitz Note Added: 19857
2012-07-20 22:06 TMSWhite Changeset attached => LimeSurvey master c27f1cef
2012-07-20 22:06 TMSWhite Note Added: 19892
2012-07-20 22:06 TMSWhite Assigned To tpartner => TMSWhite
2012-07-20 22:06 TMSWhite Resolution open => fixed
2012-07-20 22:12 TMSWhite Changeset attached => LimeSurvey Yii d1a5d525
2012-07-20 22:12 TMSWhite Note Added: 19893
2012-07-20 22:13 TMSWhite Note Added: 19894
2012-07-20 22:13 TMSWhite Status assigned => resolved
2012-07-20 22:13 TMSWhite Fixed in Version => 1.92+
2012-07-20 22:13 TMSWhite Assigned To TMSWhite => tpartner
2012-07-20 22:13 TMSWhite Status resolved => assigned
2012-07-20 22:21 user20965 Issue End Monitor: user20965
2012-07-20 22:21 user20965 Note Added: 19895
2012-07-21 14:12 DenisChenu Note Added: 19897
2012-07-21 14:13 DenisChenu Note Edited: 19897
2012-07-21 14:14 DenisChenu Status assigned => resolved
2012-07-25 15:43 c_schmitz Status resolved => closed