Retain empty bib records (cat.bib.keep_on_empty) not honored with volume transfers

Bug #1333893 reported by Jason Etheridge on 2014-06-24
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evergreen
Undecided
Unassigned
3.1
Undecided
Unassigned
3.2
Undecided
Unassigned

Bug Description

The default behavior is for EG to auto-delete bibs that lose their last item, however this happens (item deletion, item transfer, or volume transfer). The library setting "Retain empty bib records" is supposed to prevent this behavior. In master (and 2.50 and 2.4.1), this doesn't work when you move the last items off of a bib through a volume transfer to a different a bib record. The originating bib record is deleted.

Here are the scenarios I tested:

Scenario 1:
 cat.bib.alert_on_empty = unset
 cat.bib.keep_on_empty = unset
 cat.volume.delete_on_empty = unset

 a) Delete last item results in:
  deleted bib, volume, item
 b) Delete last volume and item together results in:
  deleted bib, volume, item
 c) Transfer volume to lib on different bib:
  deleted bib
 d) Transfer item to a volume on a different bib:
  deleted bib, volume

Scenario 2:
 cat.bib.alert_on_empty = unset
 cat.bib.keep_on_empty = true (at Branch)
 cat.volume.delete_on_empty = unset

 a) Delete last item results in:
  deleted volume, item
 b) Delete last volume and item together results in:
  deleted volume, item
 c) Transfer volume to lib on different bib:
  deleted bib
 d) Transfer item to a volume on a different bib:
  deleted volume

I don't have a fix handy.

Yamil (ysuarez) on 2014-06-24
tags: added: cataloging
Erica Rohlfs (erohlfs) on 2015-01-19
Changed in evergreen:
status: New → Confirmed
Changed in evergreen:
status: Confirmed → In Progress
assignee: nobody → Jason Stephenson (jstephenson)
milestone: none → 3.next
Jason Stephenson (jstephenson) wrote :
tags: added: pullrequest
Changed in evergreen:
assignee: Jason Stephenson (jstephenson) → nobody
status: In Progress → Confirmed
Changed in evergreen:
milestone: 3.next → 3.3-beta1
Changed in evergreen:
milestone: 3.3-beta1 → 3.3-rc
Beth Willis (willis-a) wrote :

NOTE: I tested this code on our Evergreen 3.2.4 system only.

I have tested this code and consent to signing off on it with my name, Beth Willis and my email address, <email address hidden>

tags: added: signedoff
Changed in evergreen:
milestone: 3.3-rc → 3.3.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers