View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
13096 | Bug reports | Survey editing | public | 2017-12-21 21:01 | 2018-06-27 15:29 |
Reporter | blocka | Assigned To | |||
Priority | low | Severity | minor | ||
Status | closed | Resolution | unable to reproduce | ||
Product Version | 2.7x.x | ||||
Summary | 13096: Config.php directive "deletenonvalues" not being | ||||
Description | I have an open public survey with the first group of questions being Contact Details (name, phone number, address). Respondents will be completing the survey multiple times. At the completion of the first submission, I want to give them the option to repeat the survey again. So, in the end message, I have a link that says "Complete the survey again". The link contains a flag to indicate it is a repeat submission, and I'm passing the contact details in parameters (so the participant doesn't need to enter this information again). I'm using the panel integration to map the URL parameters to the target questions. The first parameter is "HideOrg". On the question group containing contact details, I have a relevance equation to hide the group if HideOrg=Y. In testing, after the first submission, the contact questions are passed to the new survey submission -- yay, and responses are stored in the Response table. The Contact question group is hidden with the relevance question: ((is_empty(HideOrg.NAOK) or HideOrg.NAOK != "Y")) I proceed to complete the survey a second time, by clicking on a link in the End message that passes the Contact Group question responses back to the survey. The HideOrg is set to Y, so the Contact group questions are correctly hidden. I submit the survey, and when I check the responsive table discover that the contact values haven't been stored with the survey. If I remove the relevance equation so that the organization fields are shown, then the contact values that were passed through were saved. I have updated the config.php file to set the directive "deletenonvalues" to 0 to prevent deletion of response data for questions that are hidden. This is what is in my config.php file: 'debug'=>1, However, responses are still not saved when the Contact group questions are hidden by the relevance equation. This looks like a bug to me? | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | version 2.72.6 build 171207 | ||||
I will donate to the project if issue is resolved | Yes | ||||
Browser | All | ||||
Database type & version | mySQL 5.6.37 | ||||
Server OS (if known) | CentOs | ||||
Webserver software & version (if known) | Apache | ||||
PHP Version | 7.0.19 | ||||
Unable to reproduce on current LS version 3.12.1 using the same config variables you used in config.php. |
|
@dominkvitt even if relevance equation is set to 0 == 1 ? Tested : @blocka : it work the 1st time, but the second time Q13/Q14 etc is empty (no value in session, only in DB) : attended behaviour. |
|
Version 3.12.3+180627 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-12-21 21:01 | blocka | New Issue | |
2017-12-21 21:01 | blocka | File Added: survey_312166.lss | |
2018-05-23 11:18 |
|
Assigned To | => LouisGac |
2018-05-23 11:18 |
|
Status | new => assigned |
2018-05-23 12:54 |
|
Priority | none => low |
2018-06-18 13:34 |
|
Assigned To | LouisGac => dominikvitt |
2018-06-20 11:48 |
|
Status | assigned => resolved |
2018-06-20 11:48 |
|
Resolution | open => unable to reproduce |
2018-06-20 11:48 |
|
Note Added: 48246 | |
2018-06-20 12:05 | DenisChenu | Note Added: 48247 | |
2018-06-20 12:10 | DenisChenu | Note Edited: 48247 | |
2018-06-27 15:29 | c_schmitz | Note Added: 48339 | |
2018-06-27 15:29 | c_schmitz | Status | resolved => closed |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |