Revision 4168
Added by ben leinfelder over 16 years ago
src/edu/ucsb/nceas/metacat/clientview/ClientFgdcHelper.java | ||
---|---|---|
358 | 358 |
|
359 | 359 |
if (fileName != null && !fileName.equals("")) { |
360 | 360 |
pathToResdesc = XPATH_QUERY_TEMPLATE.replaceFirst("%1s", metadataDocId); |
361 |
ClientViewHelper.updateNodeText(root, xpath, pathToResdesc, fileName);
|
|
361 |
ClientViewHelper.updateNodeText(root, xpath, pathToResdesc, metadataDocId);
|
|
362 | 362 |
} |
363 | 363 |
} |
364 | 364 |
} |
Also available in: Unified diff
use the docid, not the filename when updating this node.
fixes bug: http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3260