Bug 8081

Summary: MARC-8 character set isn't preselected properly when editing Z39.50 servers
Product: Koha Reporter: Jared Camins-Esakov <jcamins>
Component: Staff interfaceAssignee: Paul Poulain <paul.poulain>
Status: RESOLVED DUPLICATE QA Contact:
Severity: minor    
Priority: P5 - low CC: gmcharlt, magnus
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Jared Camins-Esakov 2012-05-13 16:15:15 UTC
If you edit a Z39.50 server with the character set to MARC-8, the selected attribute is not set for MARC-8, and the character set dropdown defaults to the first item in the list, UTF-8.
Comment 1 Jared Camins-Esakov 2012-05-13 16:26:48 UTC
The problem appears to be the hyphen, which is not permitted in variable names. The offending code is:
$template->param( $_ . $data->{$_} => 1)
        for ( qw( syntax encoding ) );
Comment 2 Magnus Enger 2013-01-27 12:49:00 UTC
I'll fix this as part of bug 9497.

*** This bug has been marked as a duplicate of bug 9497 ***