Project

General

Profile

Bug #5718

SANParks GIS download returns empty files

Added by ben leinfelder about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
metacat
Target version:
Start date:
09/25/2012
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5718

Description

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!

History

#1 Updated by ben leinfelder about 7 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]

#2 Updated by ben leinfelder about 7 years ago

will be included in the 2.0.5 Metacat release.

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 5718

Also available in: Atom PDF