[Bug 32782] New: UNIMARC support
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Bug ID: 32782 Summary: UNIMARC support Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: ERM Assignee: jonathan.druart+koha@gmail.com Reporter: jonathan.druart+koha@gmail.com CC: jonathan.druart+koha@gmail.com, jonathan.field@ptfs-europe.com, martin.renvoize@ptfs-europe.com, pedro.amorim@ptfs-europe.com Depends on: 32030 I need UNIMARC equivalence for the following values: my $publication_title = $biblio->title; my $print_identifier = $record->subfield( '020', 'a' ) || $record->subfield( '020', 'z' ) || $record->subfield( '022', 'a' ) || $record->subfield( '022', 'y' ); my $online_identifier = $print_identifier; my ( $date_first_issue_online, $date_last_issue_online ) = $fix_coverage->( $record->subfield( '866', 'a' ) ); my ( $num_first_vol_online, $num_last_vol_online ) = $fix_coverage->( $record->subfield( '863', 'a' ) ); my ( $num_first_issue_online, $num_last_issue_online ) = ( '', '' ); # FIXME ? my $title_url = $record->subfield( '856', 'u' ); my $first_author = $biblio->author; my $embargo_info = ''; # FIXME ? my $coverage_depth = $title_url ? 'fulltext' : 'print'; my $notes = $record->subfield( '852', 'z' ); my $publisher_name = $record->subfield( '260', 'b' ); my $publication_type = ''; # FIXME ? my $date_monograph_published_print = ''; # FIXME ? my $date_monograph_published_online = ''; # FIXME ? my $monograph_volume = ''; # FIXME ? my $monograph_edition = ''; # FIXME ? my $first_editor = ''; # FIXME ? my $parent_publication_title_id = ''; # FIXME ? my $preceeding_publication_title_id = ''; # FIXME ? my $access_type = ''; # FIXME ? Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32030 [Bug 32030] Electronic resource management (ERM) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul.poulain@biblibre.com --- Comment #1 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Paul, can you have a look at this please? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=32783 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 --- Comment #2 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 145961 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145961&action=edit Bug 32782: ERM UNIMARC support - Create the biblio record when a resource is created -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Laurence Rault <laurence.rault@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |laurence.rault@biblibre.com --- Comment #3 from Laurence Rault <laurence.rault@biblibre.com> --- My proposition for Unimarc (no good syntax for code, but just notes) : my $publication_title = $biblio->title; my $print_identifier = $record->subfield( '010', 'a' ) || $record->subfield( '010', 'z' ) || $record->subfield( '011', 'a' ) || $record->subfield( '011', 'y' ); my $online_identifier = $print_identifier; my ( $date_first_issue_online, $date_last_issue_online ) = 955$a, 995$k $fix_coverage->( $record->subfield( '', '' ) ); my ( $num_first_vol_online, $num_last_vol_online ) = 955$d, 955$n $fix_coverage->( $record->subfield( '', '' ) ); my ( $num_first_issue_online, $num_last_issue_online ) = 955$e, 955$o ( '', '' ); # FIXME ? my $title_url = $record->subfield( '856', 'u' ); my $first_author = $biblio->author; my $embargo_info = ''; # FIXME ? 371$a my $coverage_depth = $title_url ? 'fulltext' : 'print'; my $notes = $record->subfield( '', '' ); = 336$a my $publisher_name = $record->subfield( '214', 'c' ); my $publication_type = ''; # FIXME ? see below my $date_monograph_published_print = ''; # FIXME ? 214$d my $date_monograph_published_online = ''; # FIXME ? 214$d + 100$a pos 9-12 my $monograph_volume = ''; # FIXME ? 200$v my $monograph_edition = ''; # FIXME ? 205$a my $first_editor = ''; # FIXME ? 214$c (?) my $parent_publication_title_id = ''; # FIXME ? 461 : what kind of information here ? If title, 461$t, if id, 461$0 or $3 ? my $preceeding_publication_title_id = ''; # FIXME ? 432 : same question my $access_type = ''; # FIXME ? 856$y publication_type : serial, or monograph if monograph : label pos. 67=am + 106$a=s if serial : label pos. 67=as + 106$a=s + always add field 135$a=drnn#nnnmnnuu For 955 : instead of 955 we could put all information in 856$z maybe, as they are related to the url. Depends on if we create one record with multiple 856 if many raws for one title in the kbart file, or one record per raw. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |In Discussion --- Comment #4 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Thanks Laurence! (In reply to Laurence Rault from comment #3)
my ( $date_first_issue_online, $date_last_issue_online ) = 955$a, 995$k
I guess there is a typo and the second one should be 955$k.
my $date_monograph_published_online = ''; # FIXME ? 214$d + 100$a pos 9-12
What means '+' here? Should it be: pick 214$d, but if empty then pick 100$a pos 9-12?
my $parent_publication_title_id = ''; # FIXME ? 461 : what kind of information here ? If title, 461$t, if id, 461$0 or $3 ?
I am going to ignore this for now (I have no idea!)
publication_type : serial, or monograph if monograph : label pos. 67=am + 106$a=s if serial : label pos. 67=as + 106$a=s
Do you mean the reverse? If we have 67=am AND 106$a=s then publication_type=monograph Else if 67=as AND 106$a=s then publication_type=serial Is that correct or I misunderstood what you meant?
+ always add field 135$a=drnn#nnnmnnuu
Always add a new field? Or update the existing one? What if there are several 135$a in the record already?
For 955 : instead of 955 we could put all information in 856$z maybe, as they are related to the url. Depends on if we create one record with multiple 856 if many raws for one title in the kbart file, or one record per raw.
Ignoring this again, will see later, depending on the feedback we get from UNIMARC users. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 --- Comment #5 from Laurence Rault <laurence.rault@biblibre.com> --- 1) my ( $date_first_issue_online, $date_last_issue_online ) = => 955$a, 955$k, indeed 2) my $date_monograph_published_online = ''; What means '+' here? Should it be: pick 214$d, but if empty then pick 100$a pos 9-12? => yes ok 3) For publication type : You're right In fact I have though the mappings for kbart to koha, not the reverse. So maybe don't take into account the 106 : If we have 67=am then publication_type=monograph Else if 67=as then publication_type=serial else keep empty 4) field 135 Field is repeatable So for unimarc to kbart : no need of 135 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #145961|0 |1 is obsolete| | --- Comment #6 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 148516 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148516&action=edit Bug 32782: ERM UNIMARC support Create the biblio record when a resource is created Test plan: Create a new local title and confirm that the Koha bibliographic record is created correctly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 --- Comment #7 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 148517 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148517&action=edit Bug 32782: Koha to KBart mapping for UNIMARC Used when creating eholdings from Koha items. Test plan: Add some items to a list, then use this list to create eholdings /cgi-bin/koha/erm/eholdings/local/titles/import -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 --- Comment #8 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Ready for testing, Laurence :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Biblibre Sandboxes <sandboxes@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #148517|0 |1 is obsolete| | --- Comment #9 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 148998 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148998&action=edit Bug 32782: Koha to KBart mapping for UNIMARC Used when creating eholdings from Koha items. Test plan: Add some items to a list, then use this list to create eholdings /cgi-bin/koha/erm/eholdings/local/titles/import Signed-off-by: Laurence Rault <laurence.rault@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Biblibre Sandboxes <sandboxes@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #148516|0 |1 is obsolete| | --- Comment #10 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 148999 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148999&action=edit Bug 32782: ERM UNIMARC support Create the biblio record when a resource is created Test plan: Create a new local title and confirm that the Koha bibliographic record is created correctly. Signed-off-by: Laurence Rault <laurence.rault@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Biblibre Sandboxes <sandboxes@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #148998|0 |1 is obsolete| | --- Comment #11 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 149000 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149000&action=edit Bug 32782: Koha to KBart mapping for UNIMARC Used when creating eholdings from Koha items. Test plan: Add some items to a list, then use this list to create eholdings /cgi-bin/koha/erm/eholdings/local/titles/import Signed-off-by: Laurence Rault <laurence.rault@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 delaye <stephane.delaye@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |stephane.delaye@biblibre.co | |m -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|UNIMARC support |Add UNIMARC support to the | |ERM module Version|unspecified |master CC| |fridolin.somers@biblibre.co | |m, victor@tuxayo.net --- Comment #12 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- We are a little short on UNIMARC users in the current QA team. Frido or Victor, could you take this one? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 --- Comment #13 from Victor Grousset/tuxayo <victor@tuxayo.net> ---
Create a new local title and confirm that the Koha bibliographic record is created correctly.
I filled all the fields in the local title and only one field ends up in the record (200$a (title)) But same happens without the patches on marc21 so I guess it's normal. Pointing out just in case. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Victor Grousset/tuxayo <victor@tuxayo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA --- Comment #14 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Works, makes sense (not expert so I just checked fields in code against UNIMARC documentation), QA script happy, code looks good, passing QA :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |23.05.00 released in| | Status|Passed QA |Pushed to master -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 --- Comment #15 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Pushed to master for 23.05. Nice work everyone, thanks! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|23.05.00 |23.05.00,22.11.06 released in| | Status|Pushed to master |Pushed to stable -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 --- Comment #16 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Many hands makes light work, thankyou everyone! Pushed to 22.11.x for the next release -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com Status|Pushed to stable |RESOLVED Resolution|--- |FIXED --- Comment #17 from Lucas Gass <lucas@bywatersolutions.com> --- NOt needed for 22.05.x, no backport. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |Needs documenting -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Pedro Amorim <pedro.amorim@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=35095 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|martin.renvoize@ptfs-europe | |.com | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32782 Mathieu Saby <mathsabypro@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |38795 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38795 [Bug 38795] ERM : wrong mapping for publication_type when importing UNIMARC records -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org