View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18350 | Bug reports | RemoteControl | public | 2022-09-14 14:52 | 2022-09-24 00:00 |
Reporter | Selcal | Assigned To | |||
Priority | none | Severity | partial_block | ||
Status | acknowledged | Resolution | open | ||
Product Version | 5.3.x | ||||
Summary | 18350: activate_survey does not correctly set inherited properties for Notification and data management | ||||
Description | When using the call activate_survey (which does not accept any options according to the docs), the activated survey does not carry the inherited settings for Notification and Data management. They are all set to NO. Activating using the webinterface, these questions are asked in separate dropdowns, presumably setting the options prior to activation. However, I would expect activating a survey would use inherited values without manually having to loop through them to set them manually first? | ||||
Steps To Reproduce | Create non activated survey with notification and data management set to Inherit | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | Version 5.3.32+220817 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | 10.3.34-MariaDB-cll-lve - MariaDB Server | ||||
Server OS (if known) | UNIX | ||||
Webserver software & version (if known) | Apache | ||||
PHP Version | 7.3 | ||||
In fact, manually looking at the settings, they are all copied as value 'I', which is indeed a simple copy. |
|
Feel free to do a pull request. |
|
I would, if I felt anywhere near comfortable to safely make this adjustment in the LS code. I do not. As it stands, AFAIK, using Remove control, I cannot use a get call to see what the inheritable settings are (doing get_survey_properties on the survey returns 'inherit', and the settings are not in the get_global settings). Without that workaround, activating a survey using Remote Control breaks the activated survey and my intend was to inform you of this. It is not intended to suggest anyone is obliged to fix this, and if I could do it myself (without surely breaking functionality or stability of the code), I would. Sorry about that. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-09-14 14:52 | Selcal | New Issue | |
2022-09-14 14:58 | Selcal | Note Added: 71742 | |
2022-09-14 14:58 | Selcal | Bug heat | 0 => 2 |
2022-09-15 11:15 | ollehar | Note Added: 71757 | |
2022-09-15 11:15 | ollehar | Bug heat | 2 => 4 |
2022-09-15 19:38 | Selcal | Note Added: 71777 | |
2022-09-24 00:00 | gabrieljenik | Status | new => acknowledged |