Bug 19355 - Import patrons removes circulation notes
Summary: Import patrons removes circulation notes
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: 17.05
Hardware: All All
: P5 - low major (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-21 09:10 UTC by Barry Cannon
Modified: 2020-11-30 21:45 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barry Cannon 2017-09-21 09:10:32 UTC
Existing circulation notes are removed from overwritten borrower records when importing via Tools > Import Patrons. Confirmed on 16.11 and 17.05

To test, select patron record and add circulation note. Create a test import file matching on the cardnumber, selecting overwrite. Patron attributes can be either option. When imported the record overlays correctly but removes the circulation note on the imported borrower record.
Comment 1 Jonathan Druart 2017-09-21 18:03:10 UTC
Could you detail?
You have a "borrowernotes" header and no value?
Comment 2 Barry Cannon 2017-09-22 09:46:35 UTC
Hi Jonathan, I'm not sure what further information you require. The borrower has a circulation note on their record and this is viewable on the borrower record Details view under circulation note. The same note is viewable in the "Checkout" view on the borrower record. If you then import the borrower via the borrower load tool it will overwrite attributes correctly but the "circulation note" is removed.
Comment 3 Jonathan Druart 2017-09-22 13:32:38 UTC
And the CSV file, how is it?
You have a "borrowernotes" header and an empty value?
Comment 4 Jonathan Druart 2019-12-11 09:47:40 UTC
I still do not recreate this one. Closing.

Barry, please reopen and provide more information if still valid.

What I tried:
Create a circ note for patron 1
Create a CSV with same cardnumber as patron 1
The CSV does not contain "borrowernotes" in the header
=> patron 1 still has the borrowernotes