Dependency Graph
View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
14776 | Bug reports | _ Unknown | public | 2019-04-15 22:12 | 2019-05-29 16:39 |
Reporter | BBCMResearch | Assigned To | |||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.17.x | ||||
Fixed in Version | 3.17.x | ||||
Summary | 14776: Hidden Questions Not Being Asked | ||||
Description | After installing the latest comfort update to Version 3.17.2+190408, my survey's hidden questions used for quotas are no longer being asked, resulting in untracked quotas. Quotas are token based, but token-based visible questions and groups continue to function properly. Question-based quotas continue to function properly | ||||
Steps To Reproduce | Set hidden question based on user tokens with default answer = 1, so that each question is only asked of users with specific attributes, and 1 indicates that specific combination of attributes is in place for a given respondent. Example: ((TOKEN:ATTRIBUTE_7 == "2") AND (TOKEN:ATTRIBUTE_3 == "2")) for 1 question and ((TOKEN:ATTRIBUTE_7 == "2") AND (TOKEN:ATTRIBUTE_3 == "1")) for another question, each indicating different categories of respondents to be tracked in quotas | ||||
Additional Information | Database & DB version may not be accurate - if it looks incorrect, let me know and I'll hunt down my unresponsive IT guy | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 3.17.2+190408 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | MySQL: Percona-Server-client-56.x86_64 5.6.39 | ||||
Server OS (if known) | Linux | ||||
Webserver software & version (if known) | Apache | ||||
PHP Version | 7.0.33 | ||||
related to | 14833 | closed | Default values in List (radio) question does not work |
Can you send a sample LSS file ? Do you know when it work : the version before the 3.17 ? |
|
Hi Denis, I'll get a sample file to you later today, it will take me a little bit to strip PII from the sample participant data. This is a CATI survey, and the workaround I have is to unhide the questions and force my callers to manually ensure the default answer is selected. When I tested this out this morning, I got an error that "1" is not a valid default value for the question, even though there's only 1 answer option and the value is set to "1". So I assume the problem lies there. I've never had this problem before, and I've kept up with the comfort updates, so I assumed that it was working with a recent build of 3.17, and I know it worked prior to that. |
|
Denis, Sample LSS File is here, along with a sample participants list, and a list of tokens to test out. I've included these because of the number of attributes associated with participants in this survey |
|
I ask for a simple survey : 2 groups … maximum … 3/4 questions … |
|
This survey is too complex to be tested … please :
|
|
But more : with included survey set IVREnglishCheck to 2 : quota is OK : out after the Hidden_Quota_Questions … |
|
Apologies, I didn't know how much I could remove from the original without interfering with the bug. Revised sample survey is attached. Quotas for hidden questions DO NOT work, quota for a visible question does Sample Participants List 2.csv (204 bytes)
token,attribute_3 <Language>,attribute_7 <IsTier2> 66f1a1565d63c777e2e6e6176cd314ea,2,2 f84925aa109e9bef2d5006da012cb619,2,2 e29a2ada3141a46e7e47a5a31b36f603,1,2 7bc9602d67dd523092e0c4cac4fbc863,1,2 |
|
IVREnglishCheck is an hidden question, but it work. Remind Quota only for Completed Survey, not quota out for any other reason. |
|
That's weird. I run that exact file with those exact participants on LS Version 3.17.2+190408 and all I get is the Completed Survey Quota. The Tier2English & Tier2Spanish quotas aren't registering any response. |
|
The visible quota for Completed Surveys was added several iterations ago because sometimes the CATI callers would close the survey without clicking the final 'submit' button. This ensures that we properly track all the completed surveys and it makes it easier to tally the sum total of completes |
|
Checked Tier2English set to 1 for max quota : OK Maybe : disable Ajax mode to be sure (i always disable ajax mode) |
|
Denis, are you looking at the v2 sample I uploaded? All the Agency Satisfaction and IVR language should be gone - just 2 hidden quotas and a couple of questions plus QINTRO & the Survey Complete Question. How would I disable Ajax mode? It's not something I'm familiar with |
|
No the V1 |
|
... The demo that I sent runs on the default Bootwatch theme, and the main survey runs on a customized extension that just adds a customer's logo. Ajax is enabled on the main survey, but disabled in the demo, and I still can't get the hidden quotas to function properly |
|
Since in can't confirm the issue because i can't reproduce … |
|
@BBCMResearch, can you try creating a copy of your survey and see if it works there? |
|
@c_schmitz, that's what I did when Denis asked the first time. I made a copy, then I made second, simplified copy, and it uses the factory bootswatch theme. It's still only collecting quotas from the unhidden, non-default answer question, not from the hidden question with a default answer. If I un-hide the questions that have a default answer, and then test the survey, I get the attached error message. So I'm now assuming the problem isn't with the quotas, but rather with default answers |
|
So, what if you fix the default value? |
|
"1" is the only value and answer choice for the question, it shouldn't be reading as invalid. If it's the only option and I need it to be set to automatic for the quota to work as a hidden question, I'm not really sure what I can do |
|
I check a lot this lss because i think it can be related to Default value checking, but can‘t reproduce on my way … |
|
@Denis - I tried that before I reported the bug, and have tried several times since - double checking the question answers and clicking on "Edit default answer values". Do you think it would matter if I changed the text of the answer to match the code? So change from value='1' label='Yes' to value='1' label='1' ? |
|
No, it would not |
|
Can you just create a survey with only this question with this same default value and check what happen ? |
|
Ok, created a brand new survey with only one hidden question with one default answer, and one visible question with no default answer. Set quotas to both. Again, the visible one is captured, the hidden one is not. No token values or other questions or skip logic required. |
|
Got it … fixed in https://github.com/LimeSurvey/LimeSurvey/commit/7eaaba33141f48a604b12657b62bc5b333370e1d |
|
Yes, after the Easter holidays. |
|
Thanks guys! |
|
https://github.com/LimeSurvey/LimeSurvey/commit/7eaaba33141f48a604b12657b62bc5b333370e1d |
|
Version 3.17.4+190529 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-04-15 22:12 | BBCMResearch | New Issue | |
2019-04-15 22:12 | BBCMResearch | Issue Monitored: BBCMResearch | |
2019-04-16 09:47 | DenisChenu | Note Added: 51476 | |
2019-04-16 09:47 | DenisChenu | Note Edited: 51476 | |
2019-04-16 14:56 | BBCMResearch | Note Added: 51479 | |
2019-04-16 15:38 | BBCMResearch | File Added: HiddenQDefaultADemo.lss | |
2019-04-16 15:38 | BBCMResearch | File Added: Test Tokens.xlsx | |
2019-04-16 15:38 | BBCMResearch | File Added: Sample Participants List.csv | |
2019-04-16 15:38 | BBCMResearch | Note Added: 51480 | |
2019-04-16 15:53 | DenisChenu | Note Added: 51481 | |
2019-04-16 16:10 | DenisChenu | Note Added: 51482 | |
2019-04-16 16:15 | DenisChenu | Note Added: 51483 | |
2019-04-16 16:15 | DenisChenu | Assigned To | => DenisChenu |
2019-04-16 16:15 | DenisChenu | Status | new => feedback |
2019-04-16 17:23 | BBCMResearch | File Added: Sample Participants List 2.csv | |
2019-04-16 17:23 | BBCMResearch | File Added: HiddenQDefaultADemo2.lss | |
2019-04-16 17:23 | BBCMResearch | Note Added: 51484 | |
2019-04-16 17:23 | BBCMResearch | Status | feedback => assigned |
2019-04-16 17:43 | DenisChenu | Note Added: 51485 | |
2019-04-16 17:55 | BBCMResearch | Note Added: 51486 | |
2019-04-16 18:09 | BBCMResearch | Note Added: 51487 | |
2019-04-16 18:27 | DenisChenu | Note Added: 51488 | |
2019-04-16 18:28 | DenisChenu | Note Edited: 51488 | |
2019-04-16 18:35 | BBCMResearch | Note Added: 51489 | |
2019-04-16 18:36 | DenisChenu | File Added: Capture d’écran du 2019-04-16 18-36-18.png | |
2019-04-16 18:36 | DenisChenu | Note Added: 51490 | |
2019-04-16 18:42 | BBCMResearch | Note Added: 51492 | |
2019-04-17 16:25 | DenisChenu | Assigned To | DenisChenu => |
2019-04-17 16:25 | DenisChenu | Status | assigned => new |
2019-04-17 16:25 | DenisChenu | Note Added: 51500 | |
2019-04-18 13:43 | c_schmitz | Note Added: 51515 | |
2019-04-18 13:43 | c_schmitz | Assigned To | => c_schmitz |
2019-04-18 13:43 | c_schmitz | Status | new => feedback |
2019-04-18 14:36 | BBCMResearch | File Added: Default Value Error.JPG | |
2019-04-18 14:36 | BBCMResearch | Note Added: 51519 | |
2019-04-18 14:36 | BBCMResearch | Status | feedback => assigned |
2019-04-18 14:45 | c_schmitz | Note Added: 51521 | |
2019-04-18 14:45 | c_schmitz | Status | assigned => feedback |
2019-04-18 14:58 | BBCMResearch | Note Added: 51523 | |
2019-04-18 14:58 | BBCMResearch | Status | feedback => assigned |
2019-04-18 15:38 | DenisChenu | Note Added: 51524 | |
2019-04-18 15:42 | BBCMResearch | Note Added: 51525 | |
2019-04-18 15:44 | c_schmitz | Note Added: 51526 | |
2019-04-18 15:58 | DenisChenu | Note Added: 51527 | |
2019-04-18 16:26 | BBCMResearch | File Added: HiddenQ_DefaultA_3.lss | |
2019-04-18 16:26 | BBCMResearch | Note Added: 51528 | |
2019-04-18 17:08 | DenisChenu | Note Added: 51529 | |
2019-04-18 17:08 | DenisChenu | Note Edited: 51529 | |
2019-04-18 17:09 | c_schmitz | Note Added: 51530 | |
2019-04-18 17:15 | BBCMResearch | Note Added: 51531 | |
2019-05-08 12:26 | DenisChenu | Relationship added | related to 14833 |
2019-05-08 12:27 | DenisChenu | Assigned To | c_schmitz => dominikvitt |
2019-05-08 12:27 | DenisChenu | Status | assigned => resolved |
2019-05-08 12:27 | DenisChenu | Resolution | open => fixed |
2019-05-08 12:27 | DenisChenu | Fixed in Version | => 3.17.x |
2019-05-08 12:27 | DenisChenu | Note Added: 51826 | |
2019-05-29 16:39 | c_schmitz | Note Added: 52241 | |
2019-05-29 16:39 | c_schmitz | Status | resolved => closed |
2021-08-04 01:40 | guest | Bug heat | 6 => 8 |