[Koha-bugs] [Bug 24562] addbiblio.pl overloading CPU
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 17 10:35:55 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24562
--- Comment #19 from Jawad Makki <jawad_makki at hotmail.com> ---
After many test during the last few months, we were able to detect the problem.
below are our observations:
1 - the problem is issued definitely from addbiblio.pl
2 - the problem is not related to the size of the record or the number of items
3 - the problem appears when adding a new bibliographic record (and not when
editing an existing one)
4 - the problem occurs when we have the "Apostrophe" character in the title (in
245$a)
5 - the source of the problem is coming from the checking for a possible
duplicate record function "Duplicate record suspected !".
6 - After disabling the codes of the Duplicate checking in addbiblio.pl,
everything is working normally.
-------------------
# getting html input
my @params = $input->multi_param();
$record = TransformHtmlToMarc( $input, 1 );
# check for a duplicate
my ( $duplicatebiblionumber, $duplicatetitle );
# Disable checking for possible duplicates
#if ( !$is_a_modif ) {
# ( $duplicatebiblionumber, $duplicatetitle ) = FindDuplicate($record);
#}
-------------------
7 - the problem is from the "FindDuplicate($record)" function
any feedback or suggestion !
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list