[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
Thu Jan 30 11:33:30 CET 2020


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

--- Comment #3 from Magnus Enger <magnus at libriotech.no> ---
Created attachment 98154
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98154&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

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


More information about the Koha-bugs mailing list