-
Notifications
You must be signed in to change notification settings - Fork 994
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 #18693: Using checkbox question for yes/no loses data when data entry view #3018
Fixed issue #18693: Using checkbox question for yes/no loses data when data entry view #3018
Conversation
…n data entry view
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.
Since unseen can be used as subquetiontitle, maybe use a different separator :unseen
can work i think.
…n data entry view
SonarCloud Quality Gate failed. |
The question still exist «why not {$fname['fieldname']}:unseen » ? |
I believe the |
You think i write : without controlling it's OK ?
|
No, of course not. Why do you take it like that. We can disagree sometimes, right? If at the end it works.... |
…n data entry view
…n data entry view - Fix Data Entry crash with debug=2
…n data entry view
…n data entry view
…data when data entry view" This reverts commit 2e2edc9.
…-no-loses-data-when-data-entry-view
PS : strange when i try to test : seems to be a 5.X |
Because you don't tell why you don't want it …
Its one of the reason to use it, you have less chance to have it in a name. And it's make clear that is a new name. In LimeSurvey : we already use _ as separator between code and subquestion code, the when see _ : a new xdev can think it's a separator between code and subcode. Another : there are discussion since years to use QuestionCode in place of sidXgidXqid, with unseen at start with _ : you disable usage of unseen.
Yes, but maybe discuss on idea is a good solution to have something work for long term and more understandable |
Right, both underscore and hash are used in question code generation? Or is that SGQA code only? Where in the code is the current naming schema decided? Can't find it in the DataEntry class. @Shnoulle You have an example that could break the current schema? |
This one right? Pja, can it break if someone creates a question with code "unseen" and then subquestions? Double underscore is another alternative, maybe. Or |
…n data entry view
…n data entry view
…n data entry view
…n data entry view
Waiting on approavl of #3109 before updating this one. |
…n data entry view
…n data entry view
…n data entry view
…n data entry view
…n data entry view
…-no-loses-data-when-data-entry-view
…n data entry view - Fix after merge
Picked up. Ready for re-reviewal |
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.
Please : don't loose data sent
(i didn't review all currently)
We set JS validation, just like the other branch... |
Don't send a 400 error in case JS broken ! If JS broken : save data but send an flash alert. |
About other branch : this one is the 1st done, i didn't see the 400 error before sorry. |
…n data entry view - Fix bug when last question has subquestions ( === false) - Don't throw exception when Unseen is checked and a value is provided
…n data entry view - Fix file changed by mistake
…-no-loses-data-when-data-entry-view
SonarCloud Quality Gate failed. |
No description provided.