Bug 8081 - MARC-8 character set isn't preselected properly when editing Z39.50 servers
Summary: MARC-8 character set isn't preselected properly when editing Z39.50 servers
Status: RESOLVED DUPLICATE of bug 9497
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Paul Poulain
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-13 16:15 UTC by Jared Camins-Esakov
Modified: 2013-01-27 12:49 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***