Project

General

Profile

Task #2599

cn.resolve throws ServiceFailure when should be NotAuthorized

Added by Rob Nahf over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
High
Assignee:
Robert Waltz
Category:
d1_cn_service
Start date:
2012-04-12
Due date:
% Done:

100%

Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:

Description

in DEV environment:

compare:
https://cn-dev.dataone.org/cn/v1/meta/knb-lter-gce.117.27 ==> throws NotAuthorized

https://cn-dev.dataone.org/cn/v1/resolve/knb-lter-gce.117.27 ==> throws ServiceFailure

ResolveFilter seems to rely on the detail code, rather than the actual exception thrown by meta, to determine the ultimate exception thrown. Not sure if detail code are robust enough for that type of decision making.

History

#1 Updated by Rob Nahf over 12 years ago

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

refactored ResolveFilter exception handling to use the exception type, instead of the detail code.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)