Bug 14210 - Manage staged MARC records deletes replaced item when undoing import into catalog
Summary: Manage staged MARC records deletes replaced item when undoing import into cat...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: master
Hardware: All All
: P3 major with 47 votes (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-15 20:50 UTC by Nick Clemens
Modified: 2023-07-18 17:00 UTC (History)
8 users (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 Nick Clemens 2015-05-15 20:50:13 UTC
If records are staged with the item rule:
Replace items if matching bib was found (only for existing items)

And some items are successfully updated those items are deleted when you click:
Undo import into catalog.
Comment 1 Katrin Fischer 2015-05-15 20:54:23 UTC
I think the item values from before the update are not stored anywhere, os it might be a problem turning them back... maybe what we could do for now is print a big warn?
Comment 2 Owen Leonard 2016-06-21 16:11:40 UTC
Is this report specific to 3.18.x? If it is valid in master, please mark it as
such.
Comment 3 Katrin Fischer 2020-01-07 21:38:05 UTC
I wonder if we store if the item was added or replaced - if it was replaced, we could keep it and only delete it if it was added. Would still need a big note somewhere and documentation.
Comment 4 AspenCat Team 2020-06-27 07:01:43 UTC
Although a big warn would certainly be helpful, it would be better to get it fixed (so undo could happen). We are on elastic search. Warn should include advising to keep a marc file of the previous state of affairs to load to recreate the items that disappeared.
Comment 5 Andrew Fuerste-Henry 2021-12-20 19:56:35 UTC
This is still true and still bad.
Comment 6 Katrin Fischer 2022-02-20 00:33:58 UTC
I am raising severity as this is about data loss.
Comment 7 Rhonda Kuiper 2023-02-22 19:09:34 UTC
Checking on the status of this Bug.  As Katrin noted, this is about data loss.
Comment 8 CB 2023-04-18 17:14:09 UTC
I agree.  It erases data.  From an acquisitions standpoint, I need to add the item back on to the Bib record and input the item information again.  It seems like the reversion should simply "undo" the process.
Comment 9 Rhonda Kuiper 2023-07-18 16:57:55 UTC
After a discussion in the koha-US acquisitions SIG, we determined that this bug is negatively impacting a number of libraries.  This bug is deleting item records when the import is undone.