View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20075Feature requestsRemoteControlpublic2025-04-29 12:45
Reportermfavetti Assigned To 
PrioritynoneSeverity@60@ 
Status newResolutionopen 
Summary20075: 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)

TagsNo tags attached.
Bug heat4
Story point estimate
Users affected %

Users monitoring this issue

There are no users monitoring this issue.

Activities

tibor.pacalat

tibor.pacalat

2025-04-28 17:12

administrator   ~82504

@DenisChenu is this a bug or new feature? It looks to me like something that was never completely developed, but I may be wrong.

DenisChenu

DenisChenu

2025-04-28 17:47

developer   ~82507

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

DenisChenu

DenisChenu

2025-04-28 17:48

developer   ~82508

get_survey_group_settings is needed too (with same option: return inherit or last)

Issue History

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