View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
20075 | Feature requests | RemoteControl | public | 2025-04-26 02:46 | 2025-04-29 12:45 |
Reporter | mfavetti | Assigned To | |||
Priority | none | Severity | @60@ | ||
Status | new | Resolution | open | ||
Summary | 20075: Not possible to figure out effective survey settings via remotecontrol | ||||
Description | You can get survey settings via get_survey_properties. However, any inherited settings simply show as "Inherit", "I", -1, etc. So I thought maybe to use the gsid to lookup the survey group settings and combine them. But there is no endpoint to get the survey settings for a survey group. list_survey_groups just shows the info for the group itself, not the associated survey settings. I see two possible fixes. (1) Merge the survey group settings with the survey settings in the get_survey_properties endpoint (maybe add a flag for the unmerged settings (current behavior) or the merged settings (proposed behavior)) (2) Add a new endpoint like get_survey_group_settings, that will take in the gsid and return the survey settings and the calling application can merge them. I think 1 is better, especially in the case of multiple levels of inheritance. 2 might still be useful on its own. | ||||
Steps To Reproduce | Steps to reproduce(Replace this text with detailed step-by-step instructions on how to reproduce the issue) Expected result(Write here what you expected to happen) Actual result(Write here what happened instead) | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Story point estimate | |||||
Users affected % | |||||
@DenisChenu is this a bug or new feature? It looks to me like something that was never completely developed, but I may be wrong. |
|
Unsure :( In 3.X : inherit didn't exist. There a clearly an issue : maybe have the option 'inherited' as boolean at https://api.limesurvey.org/classes/remotecontrol-handle.html#method_get_survey_properties |
|
get_survey_group_settings is needed too (with same option: return inherit or last) |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2025-04-26 02:46 | mfavetti | New Issue | |
2025-04-28 17:12 | tibor.pacalat | Note Added: 82504 | |
2025-04-28 17:12 | tibor.pacalat | Bug heat | 0 => 2 |
2025-04-28 17:47 | DenisChenu | Note Added: 82507 | |
2025-04-28 17:47 | DenisChenu | Bug heat | 2 => 4 |
2025-04-28 17:48 | DenisChenu | Note Added: 82508 | |
2025-04-29 12:45 | c_schmitz | Project | Bug reports => Feature requests |