Added //ACCOUNTING
item.markAsRead(true); git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@114821 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1086f6cdec
commit
f9c30d17ec
|
@ -126,6 +126,14 @@ public class DownloadServlet extends HttpServlet{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try{
|
||||||
|
//ACCOUNTING
|
||||||
|
item.markAsRead(true);
|
||||||
|
|
||||||
|
} catch (InternalErrorException e) {
|
||||||
|
logger.error("Requested item "+itemId+" has thrown an internal error exception",e);
|
||||||
|
}
|
||||||
|
|
||||||
} catch (ItemNotFoundException e) {
|
} catch (ItemNotFoundException e) {
|
||||||
logger.error("Requested item "+itemId+" not found",e);
|
logger.error("Requested item "+itemId+" not found",e);
|
||||||
// sendError(resp, HttpServletResponse.SC_INTERNAL_SERVER_ERROR +": Error, no items found");
|
// sendError(resp, HttpServletResponse.SC_INTERNAL_SERVER_ERROR +": Error, no items found");
|
||||||
|
|
Loading…
Reference in New Issue