View Issue Details

This bug affects 1 person(s).
 14
IDProjectCategoryView StatusLast Update
12688Bug reportsSurvey editingpublic2018-06-22 10:29
ReporterMazi Assigned Todominikvitt 
PrioritynoneSeverityminor 
Status closedResolutionreopened 
Product Version2.67.x 
Summary12688: Global Settings are not applied to survey settings when creating a new survey
Description

When creating a new survey the default settings at survey settings for "Show group name and/or group description:" and "Show question number and/or code:" do not make use of the same settings set at Global Settings.
If I change any of these at the Global settings and then start creating a new survey, the survey settings still use the old default settings.

Steps To Reproduce
  1. Change global settings for "Show group name and/or group description:" and "Show question number and/or code:"
  2. Create a new survey and check survey settings -> preentation

-> No matter which setting you set at global settings, these two settings do not use the adjusted global setting.

TagsNo tags attached.
Attached Files
global_settings.png (40,918 bytes)   
global_settings.png (40,918 bytes)   
survey_settings.png (80,626 bytes)   
survey_settings.png (80,626 bytes)   
Bug heat14
Complete LimeSurvey version number (& build)2.67.1
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL 5
Server OS (if known)Linux
Webserver software & version (if known)Apache 2
PHP Version7

Users monitoring this issue

sth

Activities

DenisChenu

DenisChenu

2017-09-18 18:42

developer   ~44429

The default must be "Use default" no ? Then you can create 10 survey showing group (default) and after hide group for the 10 surveys ?

Mazi

Mazi

2017-09-19 10:33

updater   ~44430

I do not want to adjust settings of existing surveys by making a change at the Global Settings, that is risky. I only want the default setting for new surveys to be based on the current Global Settings.

LouisGac

LouisGac

2018-05-23 11:41

developer   ~47755

is still a problem in LS3?

Mazi

Mazi

2018-06-13 21:39

updater   ~48104

Yes, this is partially still an issue at LS 3.9, see new screenshot.

Mazi

Mazi

2018-06-15 08:26

updater   ~48118

@LouisGac, it is actually worse: I just noticed that if showing question code/number is turned in at survey level but turned off at global settings, the code/number is NOT shown. It looks like a global setting is overruling a local setting at survey runtime. That as pretty bad!

Mazi

Mazi

2018-06-19 13:52

updater   ~48217

@LouisGac
@DenisChenu
Can you confirm that at the latest 3.12 version the group description doesn't show up anymore even though it is set to display at the survey settings?

LouisGac

LouisGac

2018-06-19 14:38

developer   ~48219

I can confirm that we're going very soon to rewrite all of it to make it recursive (with "inherit" values)

steffih

steffih

2018-06-19 14:53

reporter   ~48220

Group infos are also not working for me in the latest version, is there a way to display them again, maybe via settings?

DenisChenu

DenisChenu

2018-06-19 14:59

developer   ~48221

I can confirm BUT : it was this behaviour since a long time , admin can force one of option OR allow survey admin to choose.

If you want a default + allow admin choose : you need 2 option

  • One for "default option"
  • One checkbox : "Allow admin to update default"

In 2.6lts : this part are shown as disabled is admin set it in global.

LouisGac

LouisGac

2018-06-19 15:02

developer   ~48222

I agree with denis.
For now, we keep it the way it was working.
THen, very soon, we'll implement a recursive approach.

guest

guest

2018-06-19 16:36

viewer   ~48228

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=27467

dominikvitt

dominikvitt

2018-06-19 16:44

developer   ~48229

Issue is fixed.
New survey is getting settings from global settings.
If global settings are set, they are overriding survey level settings.
Also, survey settings are preserved when switching global settings on and off.

Mazi

Mazi

2018-06-22 08:54

updater   ~48273

@dominikvitt: This behavior "If global settings are set, they are overriding survey level settings." is probably not the inteneded behavior. The global settings should be used to pre-set the survey settings. The should never overrule local settings because otherwise the common survey admin will not be able to apply their own settings.
Please adjust and get back to me in case of any questions.

LouisGac

LouisGac

2018-06-22 10:29

developer   ~48274

Mazi: as explained by Denis, it is the expected behavior, because it is the way it was working in 2.x and previous versions.
Soon (in LS3), we'll rewrite all that part to use inheritance system.

Related Changesets

LimeSurvey: master 50bd7041

2018-06-19 16:36:38

Dominik Vitt

Details Diff
Fixed issue 12688: Global Settings are not applied to survey settings when creating a new survey Affected Issues
12688
mod - application/controllers/admin/database.php Diff File
mod - application/controllers/admin/surveyadmin.php Diff File

Issue History

Date Modified Username Field Change
2017-09-18 17:32 Mazi New Issue
2017-09-18 18:42 DenisChenu Note Added: 44429
2017-09-19 10:33 Mazi Note Added: 44430
2018-05-23 11:41 LouisGac Assigned To => LouisGac
2018-05-23 11:41 LouisGac Status new => feedback
2018-05-23 11:41 LouisGac Note Added: 47755
2018-05-30 18:22 LouisGac Status feedback => confirmed
2018-06-13 21:39 Mazi File Added: survey_settings.png
2018-06-13 21:39 Mazi File Added: global_settings.png
2018-06-13 21:39 Mazi Note Added: 48104
2018-06-13 21:39 Mazi Status confirmed => assigned
2018-06-13 21:39 Mazi File Deleted: global_settings.png
2018-06-13 21:40 Mazi File Added: global_settings.png
2018-06-13 21:41 Mazi File Deleted: survey_settings.png
2018-06-13 21:42 Mazi File Added: survey_settings.png
2018-06-15 08:26 Mazi Note Added: 48118
2018-06-18 13:35 LouisGac Assigned To LouisGac => dominikvitt
2018-06-19 13:52 Mazi Note Added: 48217
2018-06-19 14:04 Mazi Issue Monitored: sth
2018-06-19 14:38 LouisGac Note Added: 48219
2018-06-19 14:53 steffih Note Added: 48220
2018-06-19 14:59 DenisChenu File Added: Capture du 2018-06-19 14-58-55.png
2018-06-19 14:59 DenisChenu Note Added: 48221
2018-06-19 15:02 LouisGac Note Added: 48222
2018-06-19 16:36 Changeset attached => LimeSurvey master 50bd7041
2018-06-19 16:36 guest Note Added: 48228
2018-06-19 16:36 guest Resolution open => fixed
2018-06-19 16:44 dominikvitt Status assigned => resolved
2018-06-19 16:44 dominikvitt Note Added: 48229
2018-06-22 08:54 Mazi Status resolved => feedback
2018-06-22 08:54 Mazi Resolution fixed => reopened
2018-06-22 08:54 Mazi Note Added: 48273
2018-06-22 10:29 LouisGac Status feedback => closed
2018-06-22 10:29 LouisGac Note Added: 48274
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2021-08-02 22:25 guest Bug heat 12 => 14