Revision 3356
Added by walbridge over 17 years ago
src/edu/ucsb/nceas/metacat/MetaCatServlet.java | ||
---|---|---|
2829 | 2829 |
// it's a file part |
2830 | 2830 |
FilePart filePart = (FilePart) part; |
2831 | 2831 |
fileList.put(name, filePart); |
2832 |
|
|
2833 |
// Stop once the first file part is found, otherwise going |
|
2834 |
// onto the |
|
2835 |
// next part prevents access to the file contents. So...for |
|
2836 |
// upload |
|
2837 |
// to work, the datafile must be the last part |
|
2838 |
break; |
|
2832 | 2839 |
} |
2833 | 2840 |
} |
2834 | 2841 |
} catch (IOException ioe) { |
Also available in: Unified diff
Backing out change, certain cases cause the file to upload as 0 bytes, which pass all tests but leave us with no data. Will re-commit after 1.8 release and more complete testing.