http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12266
Bug ID: 12266
Summary: The z39.50 authority search to create new auth record
works randomly
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: MARC Authority data support
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Hi to all,
I'm checking the actual master version.
I'm using FF 29.0.1 on Win7.
The new feature "New from Z39.50" in staff page for authority
(../cgi-bin/koha/authorities/authorities-home.pl) doesn't work well.
Sometime I click the button and the search box in authorty z39.50 appers (and
it works).
Sometime I click the button and nothing relevant appens.
I only see that address bar in the browser became
http://<mysite>:8080/cgi-bin/koha/authorities/authorities-home.pl#
I think that there is same problem on js site, with firebug I see an error on
jquery:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON
data
The link in firebug send me to this function:
function showMergingInProgress() {
var alreadySelected = $.cookie('auth_to_merge');
if (alreadySelected !== null) {
alreadySelected = JSON.parse(alreadySelected);
$('#merge_in_progress').html(_("Merging with authority: ") + "<a
href='detail.pl?authid=" + alreadySelected.authid + "'><span
class='authorizedheading'>" + alreadySelected.summary + "</span> (" +
alreadySelected.authid + ")</a> <a href='#' id='cancel_merge'>" + _("Cancel
merge") + "</a>");
$('#cancel_merge').click(function(event) {
event.preventDefault();
$.cookie('auth_to_merge', '', { 'path': '/', 'expires': -1 });
$('#merge_in_progress').empty();
});
} else {
$('#merge_in_progress').empty();
}
}
I see also this warning:
"Empty string passed to getElementById()"
with a link to Jquery line 2 (too long to be insert here).
But sometimes all is OK and I don't see those waring and error.
--
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/