Revision 5325
Added by Matt Jones over 14 years ago
src/edu/ucsb/nceas/metacat/MetacatHandler.java | ||
---|---|---|
1321 | 1321 |
logMetacat.error("MetaCatServlet.handleInsertOrUpdateAction - Could not determine if user could insert or update: " |
1322 | 1322 |
+ ue.getMessage()); |
1323 | 1323 |
ue.printStackTrace(System.out); |
1324 |
// TODO: This is a bug, as it allows one to bypass the access check -- need to throw an exception |
|
1324 | 1325 |
} |
1325 | 1326 |
|
1326 | 1327 |
try { |
... | ... | |
1349 | 1350 |
out.println("<error>"); |
1350 | 1351 |
out.println("Document text not submitted"); |
1351 | 1352 |
out.println("</error>"); |
1353 |
// TODO: this should really throw an exception |
|
1352 | 1354 |
return; |
1353 | 1355 |
} |
1354 | 1356 |
|
Also available in: Unified diff
Added note on TODO for access bug.