Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
None
-
-
Falcon Sprint 134, Falcon Sprint 135
-
1
-
Falcon
-
Lotus (R1 2022) Bug Fix
Description
Purpose
Populate Shelving order on the item record when the call number type is Other scheme.
Scope
- Populate effective shelving location for records that have call number type set to Other scheme. The call number type can be stored either on holdings or item record level.
- Use the marc4j.callnum library to generate the shelving order (artifacts are in maven central)
- The input to this library should be a string concatenation of the following properties: call number, volume, enumeration, chronology, copy number, suffix - similarly how this is done for LC call number
- For the call number and suffix properties, these should come from the effective call number components
- Store the output in effectiveShelvingOrder
This should be done, under the following circumstances:
- When an item is created or updated (either individually or in a batch)
- When a holdings record is updated (either individually or in a batch), all items associated with it should be updated (as this can change the derivation of the input properties)
This should be done in a similar manner to other derived properties for item
Out of Scope
Update scripts will be addressed in MODINVSTOR-880
Generating the shelving order
String input = call number + " " + volume + " " + enumeration + " " + chronology + " " + copy number + " " + suffix; callNumber call = new callNumber (input); String shelfKey = call.getShelfKey();
Examples of the call numbers:
00001 |
325-d A-1908 (Freetown) Map |
364.15 Slater |
5001 Microfilm |
501 Microfiche |
9A2 C0444218 Music CD |
GROUP Smith |
Complying with the library licence
Include the following in the published jar:
- a copy of the license
- a note that MARC4J is covered by it, and
- a link to the source repository on GitHub
Add https://www.mojohaus.org/license-maven-plugin/add-third-party-mojo.html to the pom.xml to automatically create a THIRD-PARTY.txt file that contains a link to https://github.com/marc4j/marc4j where the marc4j source code can be downloaded. The plugin will add THIRD-PARTY.txt to the mod-inventory-storage jar.
TestRail: Results
Attachments
Issue Links
- clones
-
MODINVSTOR-876 Store Shelving Order in item (Dewey call numbers)
-
- Closed
-
- defines
-
UXPROD-3255 Call Number browse - Back-end
-
- Closed
-
- has to be done before
-
MODINVSTOR-888 mod-inventory-storage Release v23.0.1 Lotus R1 2022 Bugfix
-
- Closed
-
- relates to
-
MODINVSTOR-359 SPIKE: Review Tod's Call Number Normalization
-
- Closed
-
-
MODINVSTOR-381 Store Shelving Order in item (LC call numbers only)
-
- Closed
-
-
MODINVSTOR-679 Comply with the MARC4J licence
-
- Closed
-
-
FAT-5970 Review of C388549 test case
-
- Open
-