Opened 13 years ago

Closed 13 years ago

#874 closed defect (fixed)

Harvester / GeoNetwork protocol does not work due to 2 language code URL redirection

Reported by: fxp Owned by: geonetwork-devel@…
Priority: blocker Milestone: v2.7.0
Component: General Version:
Keywords: Cc:

Description

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)

Attachments (1)

874.patch (919 bytes ) - added by fxp 13 years ago.

Download all attachments as: .zip

Change History (2)

by fxp, 13 years ago

Attachment: 874.patch added

comment:1 by fxp, 13 years ago

Resolution: fixed
Status: newclosed

Committed revision 9089.

Note: See TracTickets for help on using tickets.