#242 closed defect (fixed)
OAI Provider broken
Reported by: | proescholdtt | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | v2.5.1 |
Component: | General | Version: | v2.5.0 |
Keywords: | Cc: |
Description
Geonetwork cannot be harvested with most OAI harvesters, since the handling of the "resumptionToken" is broken. This can e.g be seen by using the attached code to harvest a GN node. (need oclc.oai.harvester2 jar) If the GN installation contains more metadata records than fit into one OAI response page, the harvesting will stop after the first page. This is because the resumptionToken sent by the harvester is considered illegal by GN.
The reason for that is that GN stores the resultList associated with a resumptionToken in a UserSession. The state of the UserSession is maintained via http cookie. It is not part of the OAI specs to maintain state via a cookie, so most OAI harvesters ignore cookies when doing multipage harvest. (the resumptionToken is there for that purpose).
A patch has been committed to BlueMestNet and is beeing worked on by Simon.
Attachments (1)
Change History (3)
by , 15 years ago
Attachment: | Testharvest.java added |
---|
comment:1 by , 15 years ago
Milestone: | v2.5.0 → v2.6.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Revision: 6221 by Simon Pigot. Add reorganized patch by Timo Proescholdt for proper resumptionToken handling in GN OAI server - thanks Timo.
comment:2 by , 15 years ago
Milestone: | v2.6.0 → v2.5.1 |
---|
To reproduce the bug, harvest GN with the following code (needs enough metadata to require the resumption Token)