Project

General

Profile

Actions

Bug #5428

closed

Leading whitespace in data URL causes download to hang

Added by Duane Costa about 13 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
datamanager
Target version:
Start date:
06/24/2011
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5428

Description

Leading whitespace in a data URL has been demonstrated to cause the Data Manager to hang during its download operation. A data package that demonstrates this behavior is:

http://metacat.lternet.edu/knb/metacat/knb-lter-sbc.10.15

One of the two data table entities in the above data package contains leading white space:

"\n http://sbc.lternet.edu/external/Ocean/Data/Monthly_Water_Sampling/LTER_monthly_bottledata.txt"

The fix for this bug would be for the Data Manager to trim leading and trailing whitespace from the data URL.

A secondary enhancement would be for the Data Manager to produce a warning in the form of a quality check whenever it finds that the trimmed URL is different from the original URL. However, this secondary enhancement should be implemented in the DATAMANAGER_QUALITY branch rather than in the 'eml' trunk.

Actions

Also available in: Atom PDF