[Bug 37133] New: Update MARC21 authority frameworks to Update 36
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 Bug ID: 37133 Summary: Update MARC21 authority frameworks to Update 36 Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: MARC Authority data support Assignee: koha-bugs@lists.koha-community.org Reporter: caroline.cyr-la-rose@inlibro.com QA Contact: testopia@bugs.koha-community.org https://www.loc.gov/marc/up36authority/adapndxf.html ■ New content designators: Fields 361Structured Ownership and Custodial History (R) 857Electronic Archive Location and Access (R) ■ Changes in content designator names and definitions: Subfield $dTitle of person redescribed in 368 (Other Attributes of Person or Corporate Body) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |philippe.blouin@inlibro.com Assignee|koha-bugs@lists.koha-commun |caroline.cyr-la-rose@inlibr |ity.org |o.com -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 --- Comment #1 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Created attachment 167898 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167898&action=edit Bug 37133: Update MARC21 authority frameworks to Update 36 The patch updates the MARC21 authority frameworks to Update 36 To test: 1. Apply patch and reset_all 2. Go to Administration > Authority types 3. Click Actions next to the Default framework and choose MARC structure 4. Check for the changes detailed in the update https://www.loc.gov/marc/up36authority/adapndxf.html - There should be a new field 361 named STRUCTURED OWNERSHIP AND CUSTODIAL HISTORY with the following subfields https://www.loc.gov/marc/authority/ad361.html - 0 - Authority record control number or standard number (R) - 1 - Real World Object URI (R) - 3 - Materials specified (NR) - 5 - Institution to which field applies (NR) - 6 - Linkage (NR) - 7 - Data provenance (R) - 8 - Field link and sequence number (R) - a - Name (NR) - f - Ownership and custodial history evidence term (R) - k - Formatted date (NR) - l - Date (NR) - o - Type of ownership and custodial history information (R) - s - Shelf mark of copy described (NR) - u - Uniform Resource Identifier (R) - x - Nonpublic note (R) - y - Identifier of the copy described (NR) - z - Public note (R) - No changes to subfield 368$d, changes only affect subfield documentation - There should be a new field 857 named ELECTRONIC ARCHIVE LOCATION AND ACCESS with the following subfields https://www.loc.gov/marc/authority/ad857.html - 2 - Access method (NR) - 3 - Materials specified (NR) - 5 - Institution to which field applies (NR) - 6 - Linkage (NR) - 7 - Access status (NR) - 8 - Field link and sequence number (R) - b - Name of archiving agency (NR) - c - Name of Web archive or digital archive repository (NR) - d - Date range of archived material (NR) - e - Data provenance (R) - f - Archive completeness (NR) - g - Persistent identifier (R) - h - Non-functioning Uniform Resource Identifier (R) - l - Standardized information governing access (R) - m - Contact for access assistance (R) - n - Terms governing access (R) - q - Electronic format type (R) - r - Standardized information governing use and reproduction (R) - s - File size (R) - t - Terms governing use and reproduction (R) - u - Uniform Resource Identifier (R) - x - Nonpublic note (R) - y - Link text (R) - z - Public note (R) 5. Optional: Check other authority frameworks, they should all be changed -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This enhancement updates release notes| |the MARC21 authority | |frameworks for new | |installations to reflect | |the changes from Update 36 | |(June 2023). | | | |NOTES: | |- For | |existing installations, | |manually updating the | |default and other | |frameworks with the changes | |is required. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167898|0 |1 is obsolete| | --- Comment #2 from Phil Ringnalda <phil@chetcolibrary.org> --- Created attachment 167903 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167903&action=edit Bug 37133: Update MARC21 authority frameworks to Update 36 The patch updates the MARC21 authority frameworks to Update 36 To test: 1. Apply patch and reset_all 2. Go to Administration > Authority types 3. Click Actions next to the Default framework and choose MARC structure 4. Check for the changes detailed in the update https://www.loc.gov/marc/up36authority/adapndxf.html - There should be a new field 361 named STRUCTURED OWNERSHIP AND CUSTODIAL HISTORY with the following subfields https://www.loc.gov/marc/authority/ad361.html - 0 - Authority record control number or standard number (R) - 1 - Real World Object URI (R) - 3 - Materials specified (NR) - 5 - Institution to which field applies (NR) - 6 - Linkage (NR) - 7 - Data provenance (R) - 8 - Field link and sequence number (R) - a - Name (NR) - f - Ownership and custodial history evidence term (R) - k - Formatted date (NR) - l - Date (NR) - o - Type of ownership and custodial history information (R) - s - Shelf mark of copy described (NR) - u - Uniform Resource Identifier (R) - x - Nonpublic note (R) - y - Identifier of the copy described (NR) - z - Public note (R) - No changes to subfield 368$d, changes only affect subfield documentation - There should be a new field 857 named ELECTRONIC ARCHIVE LOCATION AND ACCESS with the following subfields https://www.loc.gov/marc/authority/ad857.html - 2 - Access method (NR) - 3 - Materials specified (NR) - 5 - Institution to which field applies (NR) - 6 - Linkage (NR) - 7 - Access status (NR) - 8 - Field link and sequence number (R) - b - Name of archiving agency (NR) - c - Name of Web archive or digital archive repository (NR) - d - Date range of archived material (NR) - e - Data provenance (R) - f - Archive completeness (NR) - g - Persistent identifier (R) - h - Non-functioning Uniform Resource Identifier (R) - l - Standardized information governing access (R) - m - Contact for access assistance (R) - n - Terms governing access (R) - q - Electronic format type (R) - r - Standardized information governing use and reproduction (R) - s - File size (R) - t - Terms governing use and reproduction (R) - u - Uniform Resource Identifier (R) - x - Nonpublic note (R) - y - Link text (R) - z - Public note (R) 5. Optional: Check other authority frameworks, they should all be changed Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |phil@chetcolibrary.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Patch doesn't apply --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I have applied all the other ones up to this one and now have a conflict I don't quite understand. Can you please check and resolve, Caroline? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167903|0 |1 is obsolete| | --- Comment #4 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Created attachment 168243 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=168243&action=edit Bug 37133: Update MARC21 authority frameworks to Update 36 The patch updates the MARC21 authority frameworks to Update 36 To test: 1. Apply patch and reset_all 2. Go to Administration > Authority types 3. Click Actions next to the Default framework and choose MARC structure 4. Check for the changes detailed in the update https://www.loc.gov/marc/up36authority/adapndxf.html - There should be a new field 361 named STRUCTURED OWNERSHIP AND CUSTODIAL HISTORY with the following subfields https://www.loc.gov/marc/authority/ad361.html - 0 - Authority record control number or standard number (R) - 1 - Real World Object URI (R) - 3 - Materials specified (NR) - 5 - Institution to which field applies (NR) - 6 - Linkage (NR) - 7 - Data provenance (R) - 8 - Field link and sequence number (R) - a - Name (NR) - f - Ownership and custodial history evidence term (R) - k - Formatted date (NR) - l - Date (NR) - o - Type of ownership and custodial history information (R) - s - Shelf mark of copy described (NR) - u - Uniform Resource Identifier (R) - x - Nonpublic note (R) - y - Identifier of the copy described (NR) - z - Public note (R) - No changes to subfield 368$d, changes only affect subfield documentation - There should be a new field 857 named ELECTRONIC ARCHIVE LOCATION AND ACCESS with the following subfields https://www.loc.gov/marc/authority/ad857.html - 2 - Access method (NR) - 3 - Materials specified (NR) - 5 - Institution to which field applies (NR) - 6 - Linkage (NR) - 7 - Access status (NR) - 8 - Field link and sequence number (R) - b - Name of archiving agency (NR) - c - Name of Web archive or digital archive repository (NR) - d - Date range of archived material (NR) - e - Data provenance (R) - f - Archive completeness (NR) - g - Persistent identifier (R) - h - Non-functioning Uniform Resource Identifier (R) - l - Standardized information governing access (R) - m - Contact for access assistance (R) - n - Terms governing access (R) - q - Electronic format type (R) - r - Standardized information governing use and reproduction (R) - s - File size (R) - t - Terms governing use and reproduction (R) - u - Uniform Resource Identifier (R) - x - Nonpublic note (R) - y - Link text (R) - z - Public note (R) 5. Optional: Check other authority frameworks, they should all be changed -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 --- Comment #5 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- I admit I don't really understand what is happening. So I redid the patch and obsoleted the old one. Hopefully the diff is easier to understand/apply... I put it back to NSO since this is basically a new patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 --- Comment #6 from Phil Ringnalda <phil@chetcolibrary.org> --- I don't really understand what's happening even more, but with this new patch applied ktd up dies at koha-1 | Inserting /kohadevbox/koha/installer/data/mysql/en/marcflavour/marc21/mandatory/authorities_normal_marc21.yml... koha-1 exited with code 1 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #7 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Ok I probably made an error in the yaml... I will look at it next week. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 --- Comment #8 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Caroline Cyr La Rose from comment #7)
Ok I probably made an error in the yaml... I will look at it next week.
Maybe the files are already broken in main... I am checking. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 --- Comment #9 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hm ktd up and reset_all work ok for me on main. So that seems OK. rest_all with the patch seems also ok. Manually running the web installer... also ok and no SQL errors with the patch. Phil, could you double-check you were testing on latest main? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 --- Comment #10 from Phil Ringnalda <phil@chetcolibrary.org> --- I had a fresh pull last Friday when it failed for me, and I just freshly pulled again and had the same failed result. Don't know why. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #168243|0 |1 is obsolete| | --- Comment #11 from David Nind <david@davidnind.com> --- Created attachment 168332 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=168332&action=edit Bug 37133: Update MARC21 authority frameworks to Update 36 The patch updates the MARC21 authority frameworks to Update 36 To test: 1. Apply patch and reset_all 2. Go to Administration > Authority types 3. Click Actions next to the Default framework and choose MARC structure 4. Check for the changes detailed in the update https://www.loc.gov/marc/up36authority/adapndxf.html - There should be a new field 361 named STRUCTURED OWNERSHIP AND CUSTODIAL HISTORY with the following subfields https://www.loc.gov/marc/authority/ad361.html - 0 - Authority record control number or standard number (R) - 1 - Real World Object URI (R) - 3 - Materials specified (NR) - 5 - Institution to which field applies (NR) - 6 - Linkage (NR) - 7 - Data provenance (R) - 8 - Field link and sequence number (R) - a - Name (NR) - f - Ownership and custodial history evidence term (R) - k - Formatted date (NR) - l - Date (NR) - o - Type of ownership and custodial history information (R) - s - Shelf mark of copy described (NR) - u - Uniform Resource Identifier (R) - x - Nonpublic note (R) - y - Identifier of the copy described (NR) - z - Public note (R) - No changes to subfield 368$d, changes only affect subfield documentation - There should be a new field 857 named ELECTRONIC ARCHIVE LOCATION AND ACCESS with the following subfields https://www.loc.gov/marc/authority/ad857.html - 2 - Access method (NR) - 3 - Materials specified (NR) - 5 - Institution to which field applies (NR) - 6 - Linkage (NR) - 7 - Access status (NR) - 8 - Field link and sequence number (R) - b - Name of archiving agency (NR) - c - Name of Web archive or digital archive repository (NR) - d - Date range of archived material (NR) - e - Data provenance (R) - f - Archive completeness (NR) - g - Persistent identifier (R) - h - Non-functioning Uniform Resource Identifier (R) - l - Standardized information governing access (R) - m - Contact for access assistance (R) - n - Terms governing access (R) - q - Electronic format type (R) - r - Standardized information governing use and reproduction (R) - s - File size (R) - t - Terms governing use and reproduction (R) - u - Uniform Resource Identifier (R) - x - Nonpublic note (R) - y - Link text (R) - z - Public note (R) 5. Optional: Check other authority frameworks, they should all be changed Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 --- Comment #12 from David Nind <david@davidnind.com> --- Created attachment 168333 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=168333&action=edit Bug 37133: (follow-up) Fix tagfield - 856$6 should be 857$6 Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #13 from David Nind <david@davidnind.com> --- Testing notes (using KTD): 1. I applied the patch and then did a reset_all. There was an error generated with "Duplicate entry '856-6'" reset_all This action will erase all your data. Are you sure? (y/N) y Running [sudo koha-shell kohadev -p -c 'PERL5LIB=/kohadevbox/koha:/kohadevbox/koha/lib:/kohadevbox/qa-test-tools perl /kohadevbox/misc4dev/populate_db.pl -v --opac-base-url http://kohadev.koha-testing:8080 --intranet-base-url http://kohadev-intra.koha-testing:8081 --marcflavour MARC21']... C4::Installer::load_sql returned the following errors while attempting to load /kohadevbox/koha/installer/data/mysql/en/marcflavour/marc21/mandatory/authorities_normal_marc21.yml: DBD::mysql::db do failed: Duplicate entry '856-6' for key 'PRIMARY' at /kohadevbox/koha/C4/Installer.pm line 577. Inserting koha db structure... Inserting /kohadevbox/koha/installer/data/mysql/mandatory/sysprefs.sql... ..... 2. I added a follow-up patch to change 856$6 to 857$7. 3. Everything else looked OK to me - as per the Library of Congress update. 4. Note: all the previous updates (up to update 35) were in main. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 --- Comment #14 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Thanks for the team work! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |24.11.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 --- Comment #15 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Pushed for 24.11! Well done everyone, thank you! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 --- Comment #16 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Thanks for the follow-up patch David! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37133 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |RESOLVED Resolution|--- |FIXED CC| |lucas@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org