[Koha-bugs] [Bug 12731] New: Mulitiple setspecs that use the same MARC tag only work for the first setspec

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 7 16:57:50 CEST 2014


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

            Bug ID: 12731
           Summary: Mulitiple setspecs that use the same MARC tag only
                    work for the first setspec
 Change sponsored?: ---
           Product: Koha
           Version: 3.16
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Database
          Assignee: gmcharlt at gmail.com
          Reporter: sowder at andrews.edu
        QA Contact: testopia at bugs.koha-community.org

I have discovered that if you have a record that is in multiple OAI Sets
you cannot use the same MARC tag for mapping them.

Thus, if you have two sets with mapping as

590a  is equal to  TOM
590a  is equal to  MARY

And a record with

...
590a  TOM
590a  MARY
...

This record will be in the OAI set "TOM" and it will NOT be in the set
"MARY".

If you switch the order of the 590a so that

...
590a MARY
590a TOM
...

Then the record will be in the OAI set "MARY" but not in "TOM".

Because the "map reader" stops after the first mapping match.

I consider this a bug.
It should read all of the 590a tags and map each one that is a match.

Don't forget that the MARC tag used in OAI mapping must be an indexed tag.

BTW: This is Koha V3.16.02.000

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


More information about the Koha-bugs mailing list