Project

General

Profile

Bug #7244

view service returns a 500 error when given an non-existent PID

Added by Dave Vieglais over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cn_metacat
Start date:
2015-07-01
Due date:
% Done:

100%

Story Points:
Sprint:

Description

History

#1 Updated by Dave Vieglais over 9 years ago

  • Project changed from Infrastructure to CN REST
  • Category changed from d1_cn_service to cn_metacat

#2 Updated by Jing Tao over 9 years ago

We should include the theme in the url:

GET /views/{theme}/{id}

If you access this url, you will get the 404:

https://cn-dev-ucsb-1.test.dataone.org/cn/v2/views/knb/IDontExist-Really

#3 Updated by Jing Tao over 9 years ago

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

#4 Updated by Jing Tao over 9 years ago

If you don't specify the theme name, now you will get an invalid request exception.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)