Vandelay item import support for some default copy values.

Bug #1209291 reported by Bill Erickson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Wishlist
Unassigned

Bug Description

The goal is to add support to Vandelay item import for default call number labels, barcodes, copy locations, and circ modifiers. In the case of call numbers and barcodes, values will be auto-generated w/ an optional prefix string, just like ACQ copy/call-number generation.

See the full proposal here : http://yeti.esilibrary.com/dev/pub/techspecs/vandelay-item-import-defaults.html

Revision history for this message
Bill Erickson (berick) wrote :

Code pushed to working => user/berick/lp1209291-vandelay-item-import-defaults

tags: added: cataloging pullrequest
Changed in evergreen:
milestone: none → 2.5.0-alpha1
assignee: Bill Erickson (erickson-esilibrary) → nobody
Dan Wells (dbw2)
Changed in evergreen:
milestone: 2.5.0-alpha1 → 2.5.0-beta1
Dan Wells (dbw2)
Changed in evergreen:
milestone: 2.5.0-alpha2 → 2.5.0-beta1
Revision history for this message
Bill Erickson (berick) wrote :

Rebased branch to master and force-pushed.

Revision history for this message
Mike Rylander (mrylander) wrote :

Merged to master. Thanks, Bill!

Changed in evergreen:
status: New → Fix Committed
Revision history for this message
Dan Wells (dbw2) wrote :

I know this is already merged, but I still have a few questions about it.

1) I am wondering, was there consideration of leveraging the auto-barcode trigger which already exists in the DB? That is, any barcode starting with '@@' is auto generated at the DB-layer. We would lose the ability to set a custom prefix, but I am wondering how important that is apart from making the barcode not collide, and '@@' barcodes can never collide by design.

2) Regarding barcode collision avoidance, I looked at the code diff, and did not notice anything addressing that (though it was mentioned in the design spec). Or is that already handled by an existing part of Vandelay?

If it is important to have custom prefixes, I would prefer to see us modify the '@@' trigger to allow for '@VAN@' (for example), where 'VAN' could be any characters A-Z.

I think this would all be fairly simple to retrofit, and would be a (small) win for general unity. What do you think, Bill?

Revision history for this message
Mike Rylander (mrylander) wrote :

Dan,

Some thought was given to that. The prefix part you mention is one reason it wasn't used in the end. Another is that the generated barcode would either change (acp trigger sees /^@\w*@/ and rewrites it with the acp.id value) or conflict (trigger is taught to ignore imported items, somehow, but the sequences overlap at the exact wrong spot) when the copy is vivicated on asset.copy. Once a barcode is assigned, barcode stability is important in case the extracted (but possibly not yet imported) items are being used elsewhere, possibly even externally. Think: ACQ.

That said, if we can come up with a further generalized version of the @@-auto mechanism, I do think it would be a win.

--miker

Dan Wells (dbw2)
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.