Bugs item #1609427, was opened at 2006-12-05 11:24
Message generated for change (Settings changed) made by tdonohue
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=119984&aid=1609427&group_id=19984

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: gubarber (gubarber)
Assigned to: Nobody/Anonymous (nobody)
Summary: OAI server doesn't generate resumption token

Initial Comment:
If an OAI Crosswalk plugin throws CannotDisseminateFormatException while 
crosswalking any item then DSpaceOAICatalog won't generate a resumption token 
even if there are >= MAX_RECORDS results.

Cause:
In org.dspace.app.oai.DSpaceOaiCatalog, doRecordHarvest requests up to 
MAX_RECORDS records from org.dspace.search.Harvest. However only records that 
did not cause a CannotDisseminateFormatException are counted when checking 
whether to generate a resumption token.

DSpaceOAICatalog.java:600
if (records.size() >= MAX_RECORDS)

should be

if (itemInfos.size() >= MAX_RECORDS)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=119984&aid=1609427&group_id=19984

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to