Project

General

Profile

Bug #7350

MN.systemMetadataChanged() with bogus identifier should return NotFound

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

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

100%

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

Description

Calling MN.systemMetadataChanged() with a bogus identifier is currently returning a "ServiceFailure: 0000:" exception rather than a NotFound exception.

(Tested against demo-8 in dev)

History

#1 Updated by Jing Tao about 9 years ago

  • Target version set to CCI-2.0.0

#2 Updated by Jing Tao about 9 years ago

This method doesn't have a NotFound exception. The one I can choose is the InvalidRequest exception.

#3 Updated by Jing Tao about 9 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

I chose to throw the InvalidRequest exception.

#4 Updated by Jing Tao about 9 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 30 to 100

Andrei tested it and it worked.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)