Summary: | Bundles: Add MARC link options should also add a link in 462 | ||
---|---|---|---|
Product: | Koha | Reporter: | Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski> |
Component: | Cataloging | Assignee: | Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski> |
Status: | Patch doesn't apply --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | m.de.rooy, thibault.keromnes |
Version: | 24.05 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 37710 | ||
Bug Blocks: | |||
Attachments: |
Bug 38093: Add unit tests
Bug 38093: Bundles: Add MARC link options should also add a link in 462 Bug 38093: Bundles: Remove the link created in 462 when removing from the bundle |
Description
Baptiste Wojtkowski (bwoj)
2024-10-04 08:27:10 UTC
Bundle implementation in Bug 37996 does not implement marc representation of the relation between bundles and items they contain. Bug 29560 creates a link (773 in MARC21, 461 in UNIMARC) from the item in the bundle to the bundle itself. We also should also add a MARC link from the bundle to the item contained in the dedicated field (774 in MARC21, 462 in UNIMARC). Created attachment 172395 [details] [review] Bug 38093: Add unit tests Created attachment 172396 [details] [review] Bug 38093: Bundles: Add MARC link options should also add a link in 462 Bundle implementation in Bug 37996 does not implement marc representation of the relation between bundles and items they contain. Bug 29560 creates a link (773 in MARC21, 461 in UNIMARC) from the item in the bundle to the bundle itself. We also should also add a MARC link from the bundle to the item contained in the dedicated field (774 in MARC21, 462 in UNIMARC). TEST PLAN: 1 - Apply patches 2 - Create a bundle item (cf after for more info on this step if you are unfamiliar with bundles) 3 - Click on "manage bundle", fill with an existing barcode, click on Add marc link 4 - Click on MARC -> tab 7 (on marc21) and tab 4 on unimarc -> there should be a link in field 733 (marc21) or 462 (unimarc) 5 - Go back to the bundle and remove the item from the bundle. 6 - Click again on MARC -> precedent fields should now be empty Create a bundle : 1 - Create a new biblio/Edit an existing one, edit the field 000, the field 7 must be set to c-Collection. 2 - Go on the biblio and create a new item attached to the biblio 3 - You should see an icon "Manage bundle" on the item created Created attachment 172397 [details] [review] Bug 38093: Bundles: Remove the link created in 462 when removing from the bundle Tried both on KTD and a sandbox, ending with the same error : error: sha1 information is lacking or useless (Koha/Biblio.pm). error: could not build fake ancestor Patch failed at 0001 Bug 38093: Bundles: Remove the link created in 462 when removing from the bundle |