[Koha-bugs] [Bug 10455] remove redundant 'biblioitems.marc' field

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 2 11:26:38 CET 2018


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl

--- Comment #54 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
This change has interesting side-effects !

-    $sth = $dbh->prepare("UPDATE biblioitems SET marc=?,marcxml=? WHERE
biblionumber=?");
-    $sth->execute( $record->as_usmarc(), $record->as_xml_record($encoding),
$biblionumber );
+    $sth = $dbh->prepare("UPDATE biblioitems SET marcxml=? WHERE
biblionumber=?");
+    $sth->execute( $record->as_xml_record($encoding), $biblionumber );

It seems that since we do no longer call the sub as_usmarc, the automatic field
lengths in the marc are not calculated anymore.
This needs our attention. Will open a new report now!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list