[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 09:54:30 CET 2020


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

--- Comment #14 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 98907
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98907&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>

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

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


More information about the Koha-bugs mailing list