Get a set of messages by invalid ID is incorrect

Bug #1553041 reported by Neerja Narayan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
New
Undecided
Unassigned

Bug Description

Understanding the fact that v1.1 and v2 have been released ,

I'm posting a bug related to v1.0,

Scenario:

1. Created a queue
2. Posted messages to the queue
3. Getting a set of messages from queue by passing invalid Message Id's

Steps to repro:

curl -i -X GET http://IP:8888/v1/queues/queue-name/messages?ids=Invalid-ID1,Invalid-ID2 -H "X-Auth-Token: $TOKEN" -H "Content-type: application/json" -H "Client-ID: $Client-ID"

Gives a 204 HTTP rc instead of 404

I am aware that this scenario has been corrected in the v1.1 and v2.0 i.e HTTP rc is 404.

I am posting a small deformity in the v1.0

Please let me know if I need to post the bugs that I face while using version v1.0 or should just post the bugs related to v1.1 and v2 which are much more stable releases.

Thanks in advance!
:)

description: updated
Revision history for this message
wangxiyuan (wangxiyuan) wrote :

I'm not sure it's a bug. Because from v1.1, we has changed a lot of API response code. Need guys who are familiar with the Zaqar history to answer your question. Or you can ping them in IRC (Such as flwang,Eva-i and ryansb )

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.