View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18693 | Bug reports | Survey taking | public | 2023-03-17 15:15 | 2023-06-14 14:17 |
Reporter | ollehar | Assigned To | tibor.pacalat | ||
Priority | high | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 5.6.x | ||||
Summary | 18693: Using checkbox question for yes/no loses data when data entry view (response edit) | ||||
Description | Checkbox for yes/no question: Checked = yes, Not checked = No. Null in database or not when saved at data entry? A customer that uses such survey design will corrupt the data in the data entry screen. When NULL --> empty string, it will be parsed as "No" instead of "Not yet answered". | ||||
Additional Information | Solution: Current suggestion after discussion: Add a new column in the HTML table, with a checkbox for each question. "Unseen", checked if value is null in database. The issue is to avoid a NULL value being converted to empty string in the database when the form is posted. | ||||
Tags | No tags attached. | ||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | master | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | - | ||||
Database type & version | - | ||||
Server OS (if known) | - | ||||
Webserver software & version (if known) | - | ||||
PHP Version | - | ||||
related to | 18695 | new | Data entry didn't check relevance |
Before/after data entry submit. |
|
Not checked : empty string (not No) |
|
298188X84X260SQ001 as NULL : it means not shown by condition , not NOT checked |
|
I know, Denis, read again please. The issue is the DATA ENTRY screen (edit response). |
|
OK : you confirm 298188X84X260SQ001 was hidden by relevance ? |
|
PS : i think it's same issue for ALL question : for example single choice. Have a lss file with A Y/N question Can help to find the issue. |
|
Not related to checkbox … Data entry don't use relevance Steps to reproduce
Expected resultone Not completed or Not displayed Actual resultzero Not completed or Not displayed (moved to No answer) |
|
Worst : you can set Yes to the G01Q02 data entry screen are not made for this … Solution :
|
|
Another issue : Equation are not updated when using Data entry screen |
|
Jesus, give me a break... Don't change title please. |
|
The reported issue is about pages and checkboxes, not relevance eq. |
|
One solution might be to regard lastpage visited in the answer table when processing the POST in data entry. Another solution is to never POST the whole page, just single questions. It could also be made visible if a question was shown to the user or not. |
|
No, it's another question group, so on another page --> never visited/seen. |
|
Maybe make a complete report is better then … to fix an issue : you need to know exactly what is the issue … |
|
But you can eventually set as Completed a not completed response. |
|
Yes sorry, we have an affected customer, this is just my notes, we'll pick it up during the week I think. |
|
For lastpage : i really think the only way is to add warning on edit page … there are no way to allow set as complete … And more : Data edition is used for prefilling answer , then if set NULL according to last page set : this feature is broken … 2 possible solution here
|
|
Not sure what such a warning would say? Don't use this feature if you have checkboxes for yes/no?
Yes, but might make the POST too big, basically doubling its size in number of inputs. About 2, not sure. It's already a bit strange that unchecked is saved as empty string, isn't it? But hard to change if people rely on it. |
|
Since we move Answers + Subquestions with all Question settings : i think we don't care about number of inputs.
Question settings ? It can not be a QuestionTheme since QuestionTheme don't update Data Entry. |
|
That's one question, much less than the entire survey. Stop complaining xD |
|
;) The biggest part about number of data sent was Quick Translation since years now. |
|
Current suggestion after discussion: Add a new column in the [html] table, with a checkbox for each question. "Unseen", checked if value is null in database. If this checkbox is checked, DO NOT make any changes in the database for this question (should keep being NULL). |
|
But we already have issue with number of question with multiple choice. |
|
Do we tho? If it's visited, all columns in db is already empty string OR "Y", not null. |
|
But more : it's for all questions ? Then limit is not at 800 questions but at 400 for mysql ? It's a joke ? |
|
https://manual.limesurvey.org/General_FAQ/en#...regarding_survey_size |
|
We're not gonna change the database structure, just the posted form. |
|
Sorry, new column in the HTML table! :D <table> etc |
|
Ouf :) :+1: |
|
Sorry sorry … |
|
To avoid issue with subquestion : maybe |
|
Some fix to do
|
|
We must avoid to loose text (sometime big) by error Then Unseen checkbox must tested only if value ==="" |
|
6.X version have same issue
|
|
v5 is ready for re-reviewal. Added validation: Unseen can onlybe checked if answer is empty. |
|
It's always good to add validation. Else : still the issue woith numeric and date question type : this item must NOT have an uinseen checkbox, or label must be «unseen or not answered» I send a LSA in 2 minutes |
|
The LSA showing the issue on numeric+multi-numeric+date Steps to reproduce
Expected resultSee all question seen Actual resultThe 3 primary question shown as unseen. |
|
Still the numeric+date issue |
|
PS : if you find a solution to avoid this |
|
Yes please, another ticket.
I think we missed the label part.
Another ticket :) |
|
Ready for merge. |
|
@gabrieljenik can you please resolve conflicts here https://github.com/LimeSurvey/LimeSurvey/pull/3109 ? |
|
Done |
|
Ooooh we can finally merge this? :D Hooray! |
|
There are conflicts in master branch @gabrieljenik https://github.com/LimeSurvey/LimeSurvey/pull/3018 |
|
Fix committed to 5.x branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=34807 |
|
Fix committed to 5.x branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=34806 |
|
tested and merged |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=34814 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=34815 |
|
LimeSurvey: 5.x aeb2f4d9 2023-06-13 16:40 Gabriel Jenik Committer: GitHub Details Diff |
Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view (#3109) * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view - Fix bug when last question has subquestions ( === false) - Don't throw exception when Unseen is checked and a value is provided --------- Co-authored-by: lapiudevgit <devgit@lapiu.biz> |
Affected Issues 18693 |
|
mod - application/controllers/admin/DataEntry.php | Diff File | ||
mod - assets/packages/adminbasics/build/adminbasics.css | Diff File | ||
mod - assets/packages/adminbasics/build/adminbasics.js | Diff File | ||
mod - assets/packages/adminbasics/build/adminbasics.min.css | Diff File | ||
mod - assets/packages/adminbasics/build/adminbasics.min.js | Diff File | ||
mod - assets/packages/adminbasics/build/adminbasics.rtl.css | Diff File | ||
mod - assets/packages/adminbasics/build/adminbasics.rtl.min.css | Diff File | ||
mod - assets/packages/adminbasics/scss/000-lime-admin-common.scss | Diff File | ||
mod - assets/packages/adminbasics/src/parts/save.js | Diff File | ||
add - assets/scripts/admin/dataentry.js | Diff File | ||
LimeSurvey: 5.x aeb2f4d9 2023-06-13 16:40 Gabriel Jenik Committer: GitHub Details Diff |
Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view (#3109) * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view - Fix bug when last question has subquestions ( === false) - Don't throw exception when Unseen is checked and a value is provided --------- Co-authored-by: lapiudevgit <devgit@lapiu.biz> |
Affected Issues 18693 |
|
mod - application/controllers/admin/DataEntry.php | Diff File | ||
mod - assets/packages/adminbasics/build/adminbasics.css | Diff File | ||
mod - assets/packages/adminbasics/build/adminbasics.js | Diff File | ||
mod - assets/packages/adminbasics/build/adminbasics.min.css | Diff File | ||
mod - assets/packages/adminbasics/build/adminbasics.min.js | Diff File | ||
mod - assets/packages/adminbasics/build/adminbasics.rtl.css | Diff File | ||
mod - assets/packages/adminbasics/build/adminbasics.rtl.min.css | Diff File | ||
mod - assets/packages/adminbasics/scss/000-lime-admin-common.scss | Diff File | ||
mod - assets/packages/adminbasics/src/parts/save.js | Diff File | ||
add - assets/scripts/admin/dataentry.js | Diff File | ||
LimeSurvey: master 3ee692cc 2023-06-14 16:04 Gabriel Jenik Committer: GitHub Details Diff |
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 * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view - Fix Data Entry crash with debug=2 * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Revert "Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view" This reverts commit 2e2edc9d9e2c7c39b26eb7234af5e0d80d3f1949. * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18659: cannot install two plugins in a row * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view - Fix after merge * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view - Fix bug when last question has subquestions ( === false) - Don't throw exception when Unseen is checked and a value is provided * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view - Fix file changed by mistake --------- Co-authored-by: lapiudevgit <devgit@lapiu.biz> |
Affected Issues 18659, 18693 |
|
mod - application/controllers/admin/DataEntry.php | Diff File | ||
mod - assets/admin_themes/adminbasics_temporary/000-lime-admin-common.scss | Diff File | ||
mod - assets/packages/adminbasics/build/adminbasics.js | Diff File | ||
mod - assets/packages/adminbasics/build/adminbasics.min.js | Diff File | ||
mod - assets/packages/adminbasics/src/parts/save.js | Diff File | ||
add - assets/scripts/admin/dataentry.js | Diff File | ||
mod - themes/admin/Sea_Green/css/sea_green-rtl.css | Diff File | ||
mod - themes/admin/Sea_Green/css/sea_green-rtl.min.css | Diff File | ||
mod - themes/admin/Sea_Green/css/sea_green.css | Diff File | ||
mod - themes/admin/Sea_Green/css/sea_green.min.css | Diff File | ||
LimeSurvey: master 3ee692cc 2023-06-14 16:04 Gabriel Jenik Committer: GitHub Details Diff |
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 * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view - Fix Data Entry crash with debug=2 * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Revert "Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view" This reverts commit 2e2edc9d9e2c7c39b26eb7234af5e0d80d3f1949. * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18659: cannot install two plugins in a row * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view - Fix after merge * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view - Fix bug when last question has subquestions ( === false) - Don't throw exception when Unseen is checked and a value is provided * Fixed issue 18693: Using checkbox question for yes/no loses data when data entry view - Fix file changed by mistake --------- Co-authored-by: lapiudevgit <devgit@lapiu.biz> |
Affected Issues 18659, 18693 |
|
mod - application/controllers/admin/DataEntry.php | Diff File | ||
mod - assets/admin_themes/adminbasics_temporary/000-lime-admin-common.scss | Diff File | ||
mod - assets/packages/adminbasics/build/adminbasics.js | Diff File | ||
mod - assets/packages/adminbasics/build/adminbasics.min.js | Diff File | ||
mod - assets/packages/adminbasics/src/parts/save.js | Diff File | ||
add - assets/scripts/admin/dataentry.js | Diff File | ||
mod - themes/admin/Sea_Green/css/sea_green-rtl.css | Diff File | ||
mod - themes/admin/Sea_Green/css/sea_green-rtl.min.css | Diff File | ||
mod - themes/admin/Sea_Green/css/sea_green.css | Diff File | ||
mod - themes/admin/Sea_Green/css/sea_green.min.css | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-03-17 15:15 | ollehar | New Issue | |
2023-03-17 15:38 | ollehar | Note Added: 74174 | |
2023-03-17 15:38 | ollehar | Bug heat | 0 => 2 |
2023-03-17 15:39 | ollehar | Note Edited: 74174 | |
2023-03-17 15:44 | ollehar | Product Version | => 5.6.x |
2023-03-17 15:46 | ollehar | Description Updated | |
2023-03-17 16:35 | DenisChenu | Note Added: 74176 | |
2023-03-17 16:35 | DenisChenu | Bug heat | 2 => 4 |
2023-03-17 16:36 | DenisChenu | Note Added: 74177 | |
2023-03-17 21:10 | ollehar | Note Added: 74178 | |
2023-03-18 14:13 | DenisChenu | Note Added: 74179 | |
2023-03-18 14:14 | DenisChenu | Note Added: 74180 | |
2023-03-18 14:23 | DenisChenu | Note Added: 74181 | |
2023-03-18 14:23 | DenisChenu | File Added: Capture d’écran du 2023-03-18 14-18-32.png | |
2023-03-18 14:23 | DenisChenu | File Added: Capture d’écran du 2023-03-18 14-19-19.png | |
2023-03-18 14:23 | DenisChenu | File Added: survey_archive_999727.lsa | |
2023-03-18 14:23 | DenisChenu | Summary | Using checkbox question for yes/no loses data when data entry view (response edit) => Data entry screen don't check relevance of question |
2023-03-18 14:28 | DenisChenu | Note Added: 74182 | |
2023-03-18 14:28 | DenisChenu | Note Added: 74183 | |
2023-03-18 16:39 | ollehar | Summary | Data entry screen don't check relevance of question => Using checkbox question for yes/no loses data when data entry view (response edit) |
2023-03-18 16:39 | ollehar | Note Added: 74184 | |
2023-03-18 16:40 | ollehar | Note Added: 74185 | |
2023-03-18 16:45 | ollehar | Note Added: 74186 | |
2023-03-18 16:46 | ollehar | Note Added: 74187 | |
2023-03-18 17:15 | ollehar | Note Edited: 74186 | |
2023-03-18 17:40 | DenisChenu | Note Added: 74188 | |
2023-03-18 18:13 | DenisChenu | Note Added: 74190 | |
2023-03-18 18:14 | DenisChenu | Relationship added | related to 18695 |
2023-03-18 19:01 | ollehar | Note Added: 74191 | |
2023-03-20 09:13 | DenisChenu | Note Added: 74193 | |
2023-03-20 11:13 | ollehar | Note Added: 74197 | |
2023-03-20 11:21 | DenisChenu | Note Added: 74203 | |
2023-03-20 12:10 | ollehar | Note Added: 74206 | |
2023-03-20 12:17 | DenisChenu | Note Added: 74207 | |
2023-03-20 22:06 | gabrieljenik | Status | new => confirmed |
2023-03-22 15:30 | ollehar | Note Added: 74230 | |
2023-03-22 15:31 | ollehar | Priority | none => high |
2023-03-22 15:31 | DenisChenu | Note Added: 74231 | |
2023-03-22 15:33 | ollehar | Note Edited: 74230 | |
2023-03-22 15:34 | ollehar | Note Added: 74232 | |
2023-03-22 15:35 | DenisChenu | Note Added: 74233 | |
2023-03-22 15:35 | DenisChenu | Note Added: 74234 | |
2023-03-22 15:38 | ollehar | Note Added: 74235 | |
2023-03-22 15:39 | ollehar | Note Added: 74236 | |
2023-03-22 15:40 | DenisChenu | Note Added: 74237 | |
2023-03-22 15:46 | ollehar | Note Edited: 74230 | |
2023-03-22 16:11 | DenisChenu | Note Added: 74238 | |
2023-03-22 16:17 | ollehar | Additional Information Updated | |
2023-03-22 16:18 | ollehar | Additional Information Updated | |
2023-03-23 22:00 | gabrieljenik | Assigned To | => gabrieljenik |
2023-03-23 22:00 | gabrieljenik | Status | confirmed => assigned |
2023-03-28 09:17 | gabrieljenik | Assigned To | gabrieljenik => DenisChenu |
2023-03-28 09:17 | gabrieljenik | Status | assigned => ready for code review |
2023-03-28 09:17 | gabrieljenik | Note Added: 74292 | |
2023-03-28 09:17 | gabrieljenik | Bug heat | 4 => 6 |
2023-03-28 19:04 | DenisChenu | Status | ready for code review => in code review |
2023-03-28 19:04 | DenisChenu | Note Added: 74295 | |
2023-04-04 12:37 | DenisChenu | Assigned To | DenisChenu => |
2023-04-04 12:37 | DenisChenu | Status | in code review => ready for testing |
2023-05-05 16:35 | DenisChenu | Note Added: 74856 | |
2023-05-05 16:41 | DenisChenu | Note Added: 74857 | |
2023-05-05 16:41 | DenisChenu | File Added: Peek 05-05-2023 16-37.gif | |
2023-05-05 17:22 | DenisChenu | Note Added: 74863 | |
2023-05-05 18:30 | gabrieljenik | Note Added: 74875 | |
2023-05-17 23:14 | gabrieljenik | Note Added: 75050 | |
2023-05-17 23:14 | gabrieljenik | Assigned To | => DenisChenu |
2023-05-17 23:14 | gabrieljenik | Status | ready for testing => ready for code review |
2023-05-18 16:38 | DenisChenu | Note Added: 75083 | |
2023-05-18 16:38 | DenisChenu | File Added: Capture d’écran du 2023-05-18 16-37-01.png | |
2023-05-18 16:47 | DenisChenu | Note Added: 75084 | |
2023-05-18 16:47 | DenisChenu | File Added: survey_archive_NumericalAndDateCanNotBeUnseen.lsa | |
2023-05-18 16:47 | DenisChenu | Assigned To | DenisChenu => gabrieljenik |
2023-05-18 16:47 | DenisChenu | Status | ready for code review => in code review |
2023-05-18 16:47 | DenisChenu | Note Added: 75085 | |
2023-05-18 16:51 | DenisChenu | Note Added: 75086 | |
2023-05-18 16:51 | DenisChenu | File Added: Capture d’écran du 2023-05-18 16-50-11.png | |
2023-05-18 17:57 | gabrieljenik | Note Added: 75090 | |
2023-05-18 17:58 | gabrieljenik | Note Edited: 75090 | |
2023-06-08 23:45 | gabrieljenik | Assigned To | gabrieljenik => tibor.pacalat |
2023-06-08 23:45 | gabrieljenik | Status | in code review => ready for merge |
2023-06-08 23:45 | gabrieljenik | Note Added: 75500 | |
2023-06-09 14:15 | tibor.pacalat | Note Added: 75520 | |
2023-06-09 14:15 | tibor.pacalat | Bug heat | 6 => 8 |
2023-06-12 21:48 | gabrieljenik | Note Added: 75565 | |
2023-06-13 09:52 | ollehar | Note Added: 75575 | |
2023-06-13 14:43 | tibor.pacalat | Note Added: 75601 | |
2023-06-13 14:47 | Changeset attached | => LimeSurvey 5.x aeb2f4d9 | |
2023-06-13 14:47 | Changeset attached | => LimeSurvey 5.x aeb2f4d9 | |
2023-06-13 14:47 | guest | Note Added: 75602 | |
2023-06-13 14:47 | guest | Note Added: 75603 | |
2023-06-13 14:47 | guest | Bug heat | 8 => 10 |
2023-06-13 14:47 | guest | Bug heat | 8 => 10 |
2023-06-14 14:05 | tibor.pacalat | Status | ready for merge => closed |
2023-06-14 14:05 | tibor.pacalat | Resolution | open => fixed |
2023-06-14 14:05 | tibor.pacalat | Note Added: 75625 | |
2023-06-14 14:17 | Changeset attached | => LimeSurvey master 3ee692cc | |
2023-06-14 14:17 | Changeset attached | => LimeSurvey master 3ee692cc | |
2023-06-14 14:17 | guest | Note Added: 75626 | |
2023-06-14 14:17 | guest | Note Added: 75627 |