Project

General

Profile

« Previous | Next » 

Revision 4168

use the docid, not the filename when updating this node.
fixes bug: http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3260

View differences:

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