SANParks GIS download returns empty files
The files are intact on the server and can be downloaded manally using the metacat?action=read urls, but the special skin for downloading them does not work.
Looks at the "client view helper" code I can see that it is improperly constructing value=key pairs when calling the Metacat servlet. This has been in the code for years, so I'm not sure how it was ever working!
#1 Updated by ben leinfelder almost 9 years ago
example of the MetacatClient request that was constructed:
knb 20120925-16:13:58: [DEBUG]: >> "zip=qformat&boundary_kruger.shp=judith_kruger.56.1&read=action&judith_kruger.56.1=docid&boundary_kruger.prj=judith_kruger.59.1&boundary_kruger.dbf=judith_kruger.57.1&judith_kruger.57.1=docid&boundary_kruger.xml=judith_kruger.55.1&judith_kruger.58.1=docid&judith_kruger.59.1=docid&boundary_kruger.sbx=judith_kruger.58.1&judith_kruger.55.1=docid" [org.apache.http.wire]