metadata zero value will skip valid check

Bug #1729200 reported by yangzhenyu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Fix Released
Undecided
yangzhenyu

Bug Description

At present, the metadata attributes of the queue are validated. Metadata must be within a valid range, otherwise an exception will be raised. For example, the default metadata '_default_message_ttl' must be greater than 60s, but this bug will cause I can enter 0 and can also succeed. This is clearly contrary to the original logic of implementation.

Changed in zaqar:
assignee: nobody → yangzhenyu (cdyangzhenyu)
Changed in zaqar:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zaqar (master)

Reviewed: https://review.openstack.org/516621
Committed: https://git.openstack.org/cgit/openstack/zaqar/commit/?id=b135653fcf352a90b49c1a50da5ad5ec44aa38b5
Submitter: Zuul
Branch: master

commit b135653fcf352a90b49c1a50da5ad5ec44aa38b5
Author: yangzhenyu <email address hidden>
Date: Tue Oct 31 19:21:22 2017 +0800

    Metadata zero value will skip valid check

    At present, the metadata attributes of the queue are validated. Metadata
    must be within a valid range, otherwise an exception will be raised. For
    example, the default metadata '_default_message_ttl' must be greater than
    60s, but this bug will cause I can enter 0 and can also succeed. This is
    clearly contrary to the original logic of implementation.

    Closes-Bug: #1729200
    Change-Id: Id72771eaa4139e0c871e12e15577107457abc61c

Changed in zaqar:
status: In Progress → Fix Released
Feilong Wang (flwang)
Changed in zaqar:
milestone: none → queens-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zaqar 6.0.0.0b2

This issue was fixed in the openstack/zaqar 6.0.0.0b2 development milestone.

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.