[Koha-bugs] [Bug 6990] TransformKohaToMarc enhancement

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 18 11:48:17 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6990

Paul Poulain <paul.poulain at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|PATCH-Sent (DO NOT USE)     |P1 - high

--- Comment #9 from Paul Poulain <paul.poulain at biblibre.com> 2012-01-18 10:48:17 UTC ---
(In reply to comment #7)
> This patch breaks searching - I had to revert it to get searching back to
> normal. It should be removed from master and fixed.
> 
> 
> [13:38]  <nengard> I did a pull on my test install and now when i try to search
> I get this "Software error: Tag "" is not a valid tag. at
> /home/nengard/kohaclone/C4/Biblio.pm line 1849"  is this a bug? or something
> with my setup?
Investigating...

Line 1849 contains:
                $record->insert_fields_ordered( MARC::Field->new(
                    $tag, " ", " ", $letter => $value ) );

It means $tag is empty, which is bad

If I understand the code correctly, is means that there is a kohafield that is
connected to an empty MARC tag (I don't mean "not connected", I mean "connected
to a tag that is '   ' or something like that)

what's the result of :
select kohafield,tagfield,tagsubfield from marc_subfield_structure where
kohafield > '' AND frameworkcode='';

If there is a line saying kohafield='something' and tagfield='strange thing',
then, you've got it !

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list