[Bug 26343] New: Blank columns in patron import csv clears existing data when overwriting
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26343 Bug ID: 26343 Summary: Blank columns in patron import csv clears existing data when overwriting Change sponsored?: --- Product: Koha Version: 19.11 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Tools Assignee: koha-bugs@lists.koha-community.org Reporter: bwsdonna@gmail.com QA Contact: testopia@bugs.koha-community.org When importing/overlaying patrons, if you have any blank columns in the csv, any existing data in a patron record is cleared. There should be an option as to whether or not you intend to clear the data using blank columns or not. To recreate: 1. Create patron with several items of data, such as address, city, phone. 2. Create a csv with username, address, and a blank column for phone 3. Import patron file, using the overwrite function 4. See that the phone info is now blank in the patron record. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26343 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Version|19.11 |master --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I think this would be more suitable as an enhancement. The current behaviour that an empty cells means "reset" I think is ok and needed that way. But maybe we could add a checkbox to the list of default options saying to keep the existing value when empty in import? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26343 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Blank columns in patron |Blank columns in patron |import csv clears existing |import CSV clears existing |data when overwriting |data when overwriting --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Re-reading this again, I believe the bug description doesn't quite fit. I think the described behaviour is correct, because we need a way to reset/empty out fields. If the other behavior is still desirable, we should change it to read more as an alternative. But I can't come up with something right now :( -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26343 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- We do now have the option to select fields in the patron record that will be protected from being overwritten: "Selected fields will be preserved from original patron record when overwriting existing patron." -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org