-
Notifications
You must be signed in to change notification settings - Fork 993
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 #18324: mandSoft POST parameter may be passed to bypass mandatory questions #2825
Conversation
…andatory questions Dev: move mandSoft control to _validateQuestion only
SonarCloud Quality Gate failed. |
@olleharstedt i can assign @gabrieljenik as reviewer ? [edit : bad name for Gabriel, sorry … ) |
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 structure looks OK. Not sure I understand the solution (don'tneed to :) )
Haven't tested it,
:) since maybe you need to fix EM :
Fibnally : if a group have one Y and one S and mandSoft is set : Y questions is set invalid (and stay invalid) : group is invalid. |
Added auto test |
Dev: move to MandatorySoftTest (with only testMandatorySoftAndMandatory function)
SonarCloud Quality Gate failed. |
This breaks the Mandatory soft function when used more than once over multiple pages/groups. See here for the bug report: https://bugs.limesurvey.org/view.php?id=18808 |
Dev: move mandSoft control to _validateQuestion only