[GeoNetwork-devel] [GeoNetwork opensource Developer website] #242: OAI Provider broken

#242: OAI Provider broken
--------------------------+-------------------------------------------------
Reporter: proescholdtt | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.5.0
Component: General | Version: v2.5.0
Keywords: |
--------------------------+-------------------------------------------------
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.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/242&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#242: OAI Provider broken
---------------------------+------------------------------------------------
  Reporter: proescholdtt | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.6.0
Component: General | Version: v2.5.0
Resolution: fixed | Keywords:
---------------------------+------------------------------------------------
Changes (by mcoudert):

  * status: new => closed
  * resolution: => fixed
  * milestone: v2.5.0 => v2.6.0

Comment:

Revision: 6221 by Simon Pigot.
Add reorganized patch by Timo Proescholdt for proper resumptionToken
handling
in GN OAI server - thanks Timo.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/242#comment:1&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#242: OAI Provider broken
---------------------------+------------------------------------------------
  Reporter: proescholdtt | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.5.1
Component: General | Version: v2.5.0
Resolution: fixed | Keywords:
---------------------------+------------------------------------------------
Changes (by ticheler):

  * milestone: v2.6.0 => v2.5.1

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/242#comment:2&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.