-
Notifications
You must be signed in to change notification settings - Fork 991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed issue #18181: "no answer" still shown after turning it off #2700
Conversation
Dev: remove deprecated usage of App()->getConfig('shownoanswer') Dev: No GUI to set : no way to update, remve it form config-default too
Kudos, SonarCloud Quality Gate passed! |
Is it necesarry to also remove the config-defaults? |
Yes : If you remove usage : no need to keep it config-default : not used anymore. Alternative solution : add the settings in GUI AND disable settings in Survey Settings (and group settings). |
Not sure I follow. Why is not used anymore? Ok, is not in the GUI anymore. Maybe it is in the Olle/Carsten's plan to remove it. I think this is fixable keeping the config-defaults. |
There are 3 solutions :
The number of things updated without clear decision during each big update are very high …
See the reported issue : we need 5 month to understand what happen. I have the issue for a friends of mine to understand what happen. Friend ask me to hide it, superadmin user … 3 reporters have the same issue etc … I set as decision needed @olleharstedt and @c-schmitz : keep the global settings or remove it ? We have same issue with 3 other global settings https://bugs.limesurvey.org/view.php?id=18450 |
I think the Global survey settings replace this part. |
@olleharstedt need to add the global settings (like in 3.X) |
Dunno, man. We need bi-weekly meeting for stuff like this. |
Here : issue reported : 2022-06-07 12:24 3 user on same mantis with discussion and say "we have same issue" |
Still people who can not deactivate "Show no answer" … |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks ok, not tested
Need to be in 5 |
@olleharstedt : what is the decison here ? See https://bugs.limesurvey.org/view.php?id=18181 3 user minimum. The issue is about removing this option from GUI but leave the test. Then it's a specific way for reproduce. But clealy need a cleaner solution I need to fx it 5, but if it's another decision : i wait. |
Hm you want to remove the question attribute? GUI = question editor? |
If both Gabriel and Denis thinks this solution is OK, then it's OK for me. :) Just waiting for testing to happen then? |
I'm unsure if we have same decision; I don't understand oif @gabrieljenik want to keep the global settings «« Show 'no answer' option for non-mandatory questions:» in 5 (and then add it again to GUI) or if it's another solution. |
On purpose? Or bug? Was a decision made? |
Honestly, don't recall the issue. But is not that Denis and I got aligned, but more that a decision was done by someone else [https://bugs.limesurvey.org/view.php?id=18181#c75418]. That's why I mvoed forward with the code review. I am picking this app, so I maynot recall details.
|
I think because the system move to [inherit] by global Survey settings (and SurveyGroup settings). We don't have global survey settings before. And here : it lack a default value. We can add it again but then need to show it at disable a all survey settings (global + SurveyGroup) |
What ? The issue still persist about Surey settings : we must show as disable. More code to do |
Chain goes: Config -> Global ->Survey Group -> Survey
OK, yes, probably something on the survey groups and survey setting shall be reviewed. |
@gabrieljenik if we add it again : why not Show "There are X questions in this survey": Show question group title and/or description: Show question number and/or question code: Maybe because these parameters have been completely removed without leaving out a single part? |
OK, we have a mixed situation. Set it up from global settings or global survey? |
It's currently in global survey, the question is not OR. The questions are
|
I am sorry. I can't follow the discussion. |
I don't know why there is still discussion about this. I went through tickets that had "Decision needed" with Carsten and this is why the tag was removed. After that I commented that the PR is fine and should be reviewed and tested. If you want additional things to be handled, please create a new ticket. |
This PR points to master, but it is actually for 5.x. |
Fixed the save issue And clearly remove comments about global settings are off on The questions now are (or @tiborpacalat and @olleharstedt )
|
dc00bb5
to
8dfb6dc
Compare
Dev: remove outdated comments about global settings off
8dfb6dc
to
e0d1d05
Compare
Kudos, SonarCloud Quality Gate passed! |
All settings are working shownoanswer , showxquestions , showgroupinfo , showqnumcode. |
Yes, but in 3.X : they are in Global settings. In 5 and 6 : they are in global survey settings. In 3.X : superadmin can force the settings to ON , OFF or let admin choose. |
My comment was only regarding testing this PR. |
Dev: remove deprecated usage of App()->getConfig('shownoanswer')
Dev: No GUI to set : no way to update, remve it form config-default too