Bug 16327 - Running build_oai_sets.pl with embed items option should consider every item in a biblio
Summary: Running build_oai_sets.pl with embed items option should consider every item ...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Web services (show other bugs)
Version: Main
Hardware: PC Linux
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-22 14:16 UTC by Pedro Amorim
Modified: 2023-09-11 03:56 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Amorim 2016-04-22 14:16:45 UTC
After configuring a mapping for an oai set which uses item fields, the build_oai_sets.pl must be run with the -i flag, to embed item data in a biblio.

The bug is that it's only considering the first item (by itemnumber) of the biblio, not all the items in it.
Comment 1 Pedro Amorim 2017-03-14 13:33:23 UTC
The solution is shared in the following community entry:
https://lists.katipo.co.nz/public/koha/2016-April/045257.html
Comment 2 Martin Renvoize 2022-07-22 06:34:11 UTC
Did you fancy submitting that as a patch.. is this still valid in master now?
Comment 3 David Cook 2023-05-10 00:42:14 UTC
Yikes... this isn't good...
Comment 4 David Cook 2023-05-10 00:47:02 UTC
The code has changed since this was posted. I'm doing some testing of OAI sets, so I might try to see if I can reproduce this one, but I think it's probably invalid at this point.
Comment 5 Katrin Fischer 2023-09-09 19:40:11 UTC
(In reply to David Cook from comment #4)
> The code has changed since this was posted. I'm doing some testing of OAI
> sets, so I might try to see if I can reproduce this one, but I think it's
> probably invalid at this point.

any news?
Comment 6 David Cook 2023-09-11 03:56:36 UTC
(In reply to Katrin Fischer from comment #5)
> (In reply to David Cook from comment #4)
> > The code has changed since this was posted. I'm doing some testing of OAI
> > sets, so I might try to see if I can reproduce this one, but I think it's
> > probably invalid at this point.
> 
> any news?

I can't remember if I looked into this or not...

In practice, I don't think I ever end up using items when building OAI sets, because it hasn't been logical for the libraries. Or rather the logic they want to use with items is too complex to work with our current mappings...