Revision 5577
Added by berkley about 14 years ago
src/edu/ucsb/nceas/metacat/util/MetacatPopulator.java | ||
---|---|---|
147 | 147 |
//parse the document |
148 | 148 |
DataoneEMLParser parser = DataoneEMLParser.getInstance(); |
149 | 149 |
EMLDocument emld = parser.parseDocument(is); |
150 |
if(emld == null) |
|
151 |
{ |
|
152 |
continue; |
|
153 |
} |
|
150 | 154 |
//go through the DistributionMetadata and download any described data |
151 | 155 |
|
152 | 156 |
is = stringToStream(doctext); |
src/edu/ucsb/nceas/metacat/dataone/CrudService.java | ||
---|---|---|
837 | 837 |
EventLog.getInstance().log(metacatUrl, |
838 | 838 |
username, null, "read"); |
839 | 839 |
logCrud.info("listObjects"); |
840 |
if(totalAfterQuery < count) |
|
841 |
{ |
|
842 |
count = totalAfterQuery; |
|
843 |
} |
|
840 | 844 |
ol.setCount(count); |
841 | 845 |
ol.setStart(start); |
842 | 846 |
ol.setTotal(totalAfterQuery); |
Also available in: Unified diff
fixed bug 818