https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17791

Marcel de Rooy <m.de.r...@rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|gmcha...@gmail.com          |synapse....@gmail.com
         QA Contact|testo...@bugs.koha-communit |m.de.r...@rijksmuseum.nl
                   |y.org                       |
             Status|Signed Off                  |Failed QA

--- Comment #12 from Marcel de Rooy <m.de.r...@rijksmuseum.nl> ---
This does not work. As said earlier, we need more checks. (The records cannot
be imported without conversion. So we need more checks. For instance, only show
import when the flavours match.)

Currently btw this results in an internal server error.
I started on a clean master, chose UNIMARC and added LOC as a search target
(MARC21/USMARC).
Without this patch, I can search, but of course I do not see any titles.

With this patch, it crashes.
Unrecognized marcflavour: USMARC at /usr/share/koha/masterclone/C4/Charset.pm
line 358.
Use of uninitialized value in substr at /usr/share/perl5/MARC/File/XML.pm line
561.
substr outside of string at /usr/share/perl5/MARC/File/XML.pm line 561.
Use of uninitialized value $enc in string eq at
/usr/share/perl5/MARC/File/XML.pm line 563.
Use of uninitialized value $enc in string eq at
/usr/share/perl5/MARC/File/XML.pm line 563.
Use of uninitialized value $enc in string eq at
/usr/share/perl5/MARC/File/XML.pm line 565.
Use of uninitialized value $enc in concatenation (.) or string at
/usr/share/perl5/MARC/File/XML.pm line 568.
Use of uninitialized value in concatenation (.) or string at
/usr/share/perl5/MARC/File/XML.pm line 568.
Unsupported UNIMARC character encoding [] for XML output for UNIMARC; 100$a -> 
at /usr/share/perl5/MARC/File/XML.pm line 568.

Script passes USMARC as marc flavour to MarcToUTF8Record.
This routine passes it to SetMarcUnicodeFlag which expects MARC21 or UNIMARC as
Koha does in other places too.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/

Reply via email to