[Koha-bugs] [Bug 30779] Do not need to remove items from import biblios marc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 17 15:08:51 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30779

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #138475|0                           |1
        is obsolete|                            |
 Attachment #139285|0                           |1
        is obsolete|                            |

--- Comment #7 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 139287
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139287&action=edit
Bug 30779: Do not update import marc after importing items

We are stripping the marc item tags at import - we save them when not importing
items, but
strip when importing items

I think we can save on writes by leaving them in the record. This also allows
comparison to what was staged
versus items created

To test:
 1 - Stage a marc record with items, but do not look for items
 2 - Confirm the item tags remain in staged marc
 3 - Import the record
 4 - Confirm items are nto in imported marc record
 5 - Stage the record again, but look for items
 6 - Confirm the item tags are stipped from imported record
 7 - Import and confirm imported record has no item tags
 8 - Apply patch and repeat 1-5
 9 - Confirm item tags remain in record
10 - Import and confirm item tags not in imported marc

Signed-off-by: Andrew <andrewfh at dubcolib.org>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list