[GeoNetwork-devel] [GeoNetwork opensource Developer website] #874: Harvester / GeoNetwork protocol does not work due to 2 language code URL redirection

#874: Harvester / GeoNetwork protocol does not work due to 2 language code URL
redirection
---------------------+------------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: blocker | Milestone: v2.7.0
Component: General | Version:
Keywords: |
---------------------+------------------------------------------------------
Error is on search request using 2 letter language code because method is
POST and !HttpClient is unable to automatically handle redirects.
{{{

2012-04-27 07:23:23,959 INFO [jeeves.service] - -> dispatch ended for :
xml.harvesting.run
2012-04-27 07:23:23,969 INFO [geonetwork.harvester] - Searching on : gs
2012-04-27 07:23:23,974 WARN [geonetwork.harvester] - Raised exception
when searching : BadXmlResponseEx :
2012-04-27 07:23:23,974 WARN [geonetwork.harvester] - Raised exception
while harvesting from : gs (GeonetHarvester)
2012-04-27 07:23:23,975 WARN [geonetwork.harvester] - (C) Class :
OperationAbortedEx
2012-04-27 07:23:23,975 WARN [geonetwork.harvester] - (C) Message :
Raised exception when searching
OperationAbortedEx : Raised exception when searching
         at
org.fao.geonet.kernel.harvest.harvester.geonet.Harvester.doSearch(Harvester.java:178)
         at
org.fao.geonet.kernel.harvest.harvester.geonet.Harvester.search(Harvester.java:138)
         at
org.fao.geonet.kernel.harvest.harvester.geonet.Harvester.harvest(Harvester.java:117)
         at
org.fao.geonet.kernel.harvest.harvester.geonet.GeonetHarvester.doHarvest(GeonetHarvester.java:266)
         at
org.fao.geonet.kernel.harvest.harvester.AbstractHarvester$HarvestWithIndexProcessor.process(AbstractHarvester.java:382)
         at
org.fao.geonet.kernel.MetadataIndexerProcessor.processWithFastIndexing(MetadataIndexerProcessor.java:39)
         at
org.fao.geonet.kernel.harvest.harvester.AbstractHarvester.harvest(AbstractHarvester.java:410)
         at
org.fao.geonet.kernel.harvest.harvester.Executor.run(Executor.java:87)
}}}

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/874&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/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.

#874: Harvester / GeoNetwork protocol does not work due to 2 language code URL
redirection
----------------------+-----------------------------------------------------
  Reporter: fxp | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: blocker | Milestone: v2.7.0
Component: General | Version:
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by fxp):

  * status: new => closed
  * resolution: => fixed

Comment:

Committed revision 9089.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/874#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/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.