[api] GET /{project_id}/cgsnapshots/{id}/members does not fail when id is invalid

Bug #1607434 reported by Goutham Pacha Ravi on 2016-07-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Manila
Medium
NidhiMittalHada

Bug Description

When manila is not aware of the consistency group snapshot in the URI, the appropriate response should be HTTPNotFound; currently, it is an empty JSON list:

{
    cgsnapshot_members=[]
}

Tags: api Edit Tag help
Changed in manila:
importance: Undecided → Medium
tags: added: api
summary: - GET /{project_id}/cgsnapshots/{id}/members does fail when id is invalid
+ [api] GET /{project_id}/cgsnapshots/{id}/members does fail when id is
+ invalid
summary: - [api] GET /{project_id}/cgsnapshots/{id}/members does fail when id is
- invalid
+ [api] GET /{project_id}/cgsnapshots/{id}/members does not fail when id
+ is invalid
Changed in manila:
assignee: nobody → NidhiMittalHada (nidhimittal19)
status: New → In Progress
NidhiMittalHada (nidhimittal19) wrote :

working on this

Change abandoned by Tom Barron (<email address hidden>) on branch: master
Review: https://review.openstack.org/410682
Reason: No activity since December 2016; restore and rebase if appropriate.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers