Project

General

Profile

Bug #7326

MN.getReplica() call should return NotFound for unknown pid

Added by Andrei Buium over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Metacat
Target version:
Start date:
2015-09-01
Due date:
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

Calling MN.getReplica() with a pid that does not exist on the node returns a ServiceFailure like this:

ServiceFailure: 2181: The object specified by does not exist at this node.
but should return a NotFound exception.

(this was tested against https://mn-demo-6.test.dataone.org/knb/d1/mn/v2)

History

#1 Updated by Jing Tao over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Modified the MNodeService and deployed the change to both mn-demo-6/8. Andrei tested it and it worked.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)