Revision 7066
Added by ben leinfelder over 12 years ago
src/edu/ucsb/nceas/metacat/dataone/CNodeService.java | ||
---|---|---|
432 | 432 |
NodeReference targetNode, ReplicationStatus status, BaseException failure) |
433 | 433 |
throws ServiceFailure, NotImplemented, InvalidToken, NotAuthorized, |
434 | 434 |
InvalidRequest, NotFound { |
435 |
|
|
436 |
// cannot be called by public |
|
437 |
if (session == null) { |
|
438 |
throw new NotAuthorized("4720", "Session cannot be null"); |
|
439 |
} |
|
435 | 440 |
|
436 | 441 |
// The lock to be used for this identifier |
437 | 442 |
Lock lock = null; |
Also available in: Unified diff
check for null Session before continuing with setReplicationStatus()
https://redmine.dataone.org/issues/2476#note-3