View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
07980Bug reportsOtherpublic2013-07-23 22:41
Reporterspessex Assigned ToMazi  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version2.00+ 
Summary07980: Array filter in Ranking Question not working
Description

I have a multiple choice question with a possible 10 options. I then have a ranking question of which I want it to rank what ever options are selected in the previous multiple choice question. For example if they select 4 of the options they can then rank these in the next question. At the moment all that happens is that some strange selections come back on the ranking question and essentially they look like the original arrays.

Steps To Reproduce
  1. Create multiple choice question (10 choices).
  2. Create ranking questions but add the multiple choice question code as the array.
  3. Test survey and note that the multiple choice selections do not get carried through.
TagsNo tags attached.
Attached Files
limesurvey_group_16.lsg (12,015 bytes)
ranking_array.lsg (8,710 bytes)
rank.png (10,100 bytes)   
rank.png (10,100 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)130611
I will donate to the project if issue is resolvedYes
BrowserSafari 6.0.5
Database type & versionMySQL
Server OS (if known)Debian
Webserver software & version (if known)NGINX & FASTcgi
PHP VersionAwaiting info on this but stable
Git branch / Pull Request URL

Users monitoring this issue

spessex

Activities

spessex

spessex

2013-07-08 14:30

reporter   ~25737

please note issue is also happens on 1.91+ Build 12416. ideally we need it on this one first then on 130611 if possible

Mazi

Mazi

2013-07-22 12:26

updater   ~25821

Please upload a Limesurvey 2 sample survey for testing if you can reproduce the problem with the latest Limesurvey 2 version.

spessex

spessex

2013-07-22 13:02

reporter   ~25822

Please see issue in LS Version 2. Also please note screenshot where the product descriptions i.e.Product 1, Product 3 and Product 5 are not getting carried through, only the letter 'Y'.

Thank you

spessex

spessex

2013-07-22 13:04

reporter   ~25823

Please also note that the 'Y's in this example also cannot be ranked.

Mazi

Mazi

2013-07-22 13:14

updater   ~25824

I can NOT reproduce this issue. I am able to select items, these get passed through and can then be ranked.

Please test using the default template since your progress bar also seems to be broken which indicates JS issues.

spessex

spessex

2013-07-22 14:01

reporter   ~25827

Hi

This was tested using Default Template. Have also tested using Firefox 22.0 and still the same problem.

Please see live version at http://www.theessexs.com/survey_module/index.php/296821/lang-en

spessex

spessex

2013-07-22 14:05

reporter   ~25829

Also noticed on your screenshot that it's still not taking through the product descriptions and only 'Y's?

Mazi

Mazi

2013-07-22 14:14

updater   ~25831

"Also noticed on your screenshot that it's still not taking through the product descriptions and only 'Y's?"
That's because you simply have to add the same answer options/strings at the ranking question and not {Products_SQ1} since these items are filtered anyway.

spessex

spessex

2013-07-22 14:22

reporter   ~25832

Oh, okay. Great. Sorry, hadn't realised.

Mazi

Mazi

2013-07-22 14:25

updater   ~25833

Template issue -> ticket closed.

spessex

spessex

2013-07-22 15:54

reporter   ~25843

Please still consider live version.

I'm not sure what's happening but if you try and select a different array of options, sometimes one or two do not get carried through. Try selecting 1, 2, 3 and 6. Only 1,2,3 get carried through on my browser. I've noticed if something is missing it always tends to be '1' or '6' i.e. the first and last.

if all (1 to 6) are selected only 1 to 5 get taken through to the ranking question etc. There appears to be a raft of variations.

Mazi

Mazi

2013-07-22 16:15

updater   ~25844

Try selecting item #6 only and then torture your brain to find out what goes wrong there :-)

spessex

spessex

2013-07-23 19:44

reporter   ~25857

Oh dear. Is it something I'm doing wrong or is it likely a bug? See my screenshot for just selecting 6.

spessex

spessex

2013-07-23 20:11

reporter   ~25858

I added previous button to help testing. Please see testing responses below (I was getting lost with what I've tested but there's quite a few here:

When select Product 1 = Success
When select Product 2 = Success
When select Product 3 = Success
When select Product 4 = Success
When select Product 5 = Success
When select Product 6 = FAIL - Nothing carried through
When select Product 1 & 2 = Success
When select Product 1 & 3 = Success
When select Product 1 & 4 = Success
When select Product 1 & 5 = Success
When select Product 1 & 6 = FAIL - Only Product 1 carried through
When select Product 2 & 3 = Success
When select Product 2 & 4 = Success
When select Product 2 & 5 = Success
When select Product 2 & 6 = FAIL - Only Product 2 carried through
When select Product 3 & 5 = Success
When select Product 3 & 6 = FAIL - Only Product 3 carried through
When select Product 4 & 6 = FAIL - Only Product 4 carried through
When select Product 1,2 & 3 = Success
When select Product 1,2,3 & 4 = Success
When select Product 1,2,3,4 & 5 = Success
When select Product 1,2,3,4,5 & 6 = FAIL - Only Product 1,2,3,4,5 carried through

Mazi

Mazi

2013-07-23 20:54

updater   ~25859

You are missing the obvious. Check the answer options of the ranking question.

spessex

spessex

2013-07-23 21:47

reporter   ~25860

Damn... found it! Sorry for wasting your time. I think you can safely close this :) (For all those needing to know the problem I stupidly forgot to add the 6th option in the ranking answers).

Issue History

Date Modified Username Field Change
2013-07-08 14:16 spessex New Issue
2013-07-08 14:16 spessex File Added: limesurvey_group_16.lsg
2013-07-08 14:30 spessex Note Added: 25737
2013-07-22 11:41 spessex Issue Monitored: spessex
2013-07-22 12:26 Mazi Assigned To => DenisChenu
2013-07-22 12:26 Mazi Status new => assigned
2013-07-22 12:26 Mazi Note Added: 25821
2013-07-22 13:00 spessex File Added: ranking_array.lsg
2013-07-22 13:01 spessex File Added: Screen Shot 2013-07-22 at 11.57.41.png
2013-07-22 13:02 spessex Note Added: 25822
2013-07-22 13:04 spessex Note Added: 25823
2013-07-22 13:13 Mazi File Added: rank.png
2013-07-22 13:14 Mazi Note Added: 25824
2013-07-22 14:01 spessex Note Added: 25827
2013-07-22 14:05 spessex Note Added: 25829
2013-07-22 14:14 Mazi Note Added: 25831
2013-07-22 14:15 Mazi Status assigned => feedback
2013-07-22 14:22 spessex Note Added: 25832
2013-07-22 14:22 spessex Status feedback => assigned
2013-07-22 14:25 Mazi Note Added: 25833
2013-07-22 14:25 Mazi Status assigned => closed
2013-07-22 14:25 Mazi Assigned To DenisChenu => Mazi
2013-07-22 14:25 Mazi Resolution open => no change required
2013-07-22 15:37 Mazi Status closed => feedback
2013-07-22 15:37 Mazi Resolution no change required => reopened
2013-07-22 15:54 spessex Note Added: 25843
2013-07-22 15:54 spessex Status feedback => assigned
2013-07-22 16:15 Mazi Note Added: 25844
2013-07-23 19:44 spessex Note Added: 25857
2013-07-23 19:45 spessex File Added: Screen Shot 2013-07-23 at 18.45.17.png
2013-07-23 20:11 spessex Note Added: 25858
2013-07-23 20:54 Mazi Note Added: 25859
2013-07-23 21:47 spessex Note Added: 25860
2013-07-23 22:41 Mazi Status assigned => closed
2013-07-23 22:41 Mazi Resolution reopened => no change required
2021-08-20 13:29 guest Bug heat 4 => 6