[Koha-bugs] [Bug 35115] ERM - Potential MARC data loss when importing titles from list

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 30 17:32:57 CET 2023


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

--- Comment #7 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 158085
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158085&action=edit
Bug 35115 [Alternative]: Skip Resource store logic if resource was imported
from list

This patch fixes the data loss issue when importing titles from a list
of biblios. It does NOT fix the data loss issue when saving a title that
is linked to a biblio, that will still caused data loss on the biblio.

I believe store in Resource.pm is trying to do a couple things:
1) Updating Biblio when a title is saved, or
2) Adding a biblio when a title is created

The problem is that it's updating the biblio when the title is created
from an import list, as if new changes were made to the title and need
to be reflected to the biblio.
This is not the case, a title created from an imported list of biblios
should have no business updating their respective biblio's MARC at that time.

----

The biblio MARC being updated when the title is saved through the edit form
should perhaps be a different bug. Should all possible fields be updated on the
biblio when saving the
title?

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


More information about the Koha-bugs mailing list