Lazy queue creation doesn't validate queue's data

Bug #1439542 reported by Flavio Percoco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Fix Released
High
Doraly Navarro

Bug Description

When creating a queue lazily, the proper queue validation is not being done. Here's an example:

https://github.com/openstack/zaqar/blob/master/zaqar/transport/wsgi/v2_0/messages.py#L176-L177

I believe that affects both, v2_0 and v1_1

Changed in zaqar:
assignee: nobody → Doraly Navarro (doralynavarro)
Changed in zaqar:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zaqar (master)

Fix proposed to branch: master
Review: https://review.openstack.org/170111

Changed in zaqar:
status: Confirmed → In Progress
Changed in zaqar:
milestone: none → kilo-rc1
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zaqar (master)

Reviewed: https://review.openstack.org/170111
Committed: https://git.openstack.org/cgit/openstack/zaqar/commit/?id=55c3fcbb940ab5895aa8c540d79948a6cae40527
Submitter: Jenkins
Branch: master

commit 55c3fcbb940ab5895aa8c540d79948a6cae40527
Author: dynarro <email address hidden>
Date: Thu Apr 2 14:41:14 2015 +0200

    Adds a test for queues validations

    I added a test that verifies that the middleware validates the name
    of the queue before the queue is created and the message is posted.

    Change-Id: I6d2e416baa3979a34afc971c930d2bdf2cb9d3d5
    Closes-bug: 1439542

Changed in zaqar:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in zaqar:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in zaqar:
milestone: kilo-rc1 → 2015.1.0
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.