https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9988
--- Comment #103 from Julian Maurice <[email protected]> --- 5) When I merge 2 authorities on the staff interface, I get a UNIMARC-related error: Unsupported UNIMARC character encoding [] for XML output for UNIMARCAUTH; 100$a -> at /usr/share/perl5/MARC/File/XML.pm line 568. It's triggered by MARC::Record::as_xml in Koha::Authority::MergeRequests::reporting_tag_xml. It seems to work correctly when I add the following code before as_xml: # Copied from AddAuthority my $date = POSIX::strftime("%Y%m%d", localtime); my $defaultfield100 = C4::Context->preference('UNIMARCAuthorityField100'); $newrecord->append_fields( MARC::Field->new('100', ' ', ' ' , 'a'=> $date.$defaultfield100) ); -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
