View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18541 | Bug reports | Data Entry (non public) | public | 2022-12-05 00:22 | 2023-02-27 11:34 |
Reporter | adamzammit | Assigned To | adamzammit | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 5.4.x | ||||
Summary | 18541: Data entry screen incorrectly assigns 0 value to empty multiflex array checkbox values (master) | ||||
Description | When editing a response in the data entry screen that has empty multiflex array checkbox values (eg the respondent has not checked a particular item in the checkbox array), then the data entry screen incorrectly assigns a 0 value by default in the dropdown box. This means that even if no changes are made on the data entry page, but the page is saved, then the data changes in the database (i.e all empty multiflex array items get changed to a 0 value). The value should not change. | ||||
Steps To Reproduce | Steps to reproduceGo to the data entry/edit page for a response in a survey that has un-checked multiflex array checkbox values and then click save Expected resultData in response row to remain consistent Actual resultAll empty multiflex array checkbox values are written as 0's | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 5.4.13 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | Mysql | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 8.0 | ||||
related to | 18532 | closed | adamzammit | Data entry screen incorrectly assigns 0 value to empty multiflex array checkbox values |
pull request here: https://github.com/LimeSurvey/LimeSurvey/pull/2765 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=34336 |
|
Fixed in Release 5.6.8+230227 |
|
LimeSurvey: master 857e807c 2023-02-22 00:24 Committer: GitHub Details Diff |
Fixed issue 18541: Data entry screen incorrectly assigns 0 value to empty multiflex array checkbox values (master) (PR #2765) Fixed issue 18541: Data entry screen incorrectly assigns 0 value to empty multiflex array checkbox values (master) |
Affected Issues 18541 |
|
mod - application/controllers/admin/DataEntry.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-12-05 00:22 | adamzammit | New Issue | |
2022-12-05 00:22 | adamzammit | Relationship added | related to 18532 |
2022-12-05 00:22 | adamzammit | Assigned To | => adamzammit |
2022-12-05 00:22 | adamzammit | Status | new => assigned |
2023-02-21 00:08 | adamzammit | Note Added: 73892 | |
2023-02-21 00:08 | adamzammit | Bug heat | 0 => 2 |
2023-02-21 23:24 | adamzammit | Changeset attached | => LimeSurvey master 857e807c |
2023-02-21 23:24 | adamzammit | Note Added: 73922 | |
2023-02-21 23:24 | adamzammit | Resolution | open => fixed |
2023-02-27 11:34 | LimeBot | Note Added: 73956 | |
2023-02-27 11:34 | LimeBot | Status | assigned => closed |
2023-02-27 11:34 | LimeBot | Bug heat | 2 => 4 |