[Koha-bugs] [Bug 24531] OAI-PMH set mappings only consider first field with a given tag

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 14 08:52:26 CET 2020


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

Magnus Enger <magnus at libriotech.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #98895|0                           |1
        is obsolete|                            |

--- Comment #11 from Magnus Enger <magnus at libriotech.no> ---
Created attachment 98897
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98897&action=edit
Bug 24531 - Fix OAI-PMH sets for records with repeated fields

Currently, an OAI-PMH set mapping will only match if the value it
is looking for occurs in the first instance of a repeated field.

To test:
- Apply the first patch with two new tests
- Run something like this:
  sudo koha-shell -c "prove -v t/db_dependent/OAI/Sets.t" kohadev
- Verify that the last test fails
- Apply this secind patch
- Rerun the test file above
- Verify that all tests now pass

Signed-off-by: David Nind <david at davidnind.com>

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


More information about the Koha-bugs mailing list