Can't send a message with a period in the body keys

Bug #1623359 reported by Thomas Herve
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Fix Released
High
Thomas Herve

Bug Description

If you try to send message with the given format: {'body': {'foo.bar': 'spam'}}, you'll get an error when using mongodb as a storage:

bson.errors.InvalidDocument: key 'foo.bar' must not contain '.'

We should allow period in body keys.

Thomas Herve (therve)
Changed in zaqar:
importance: Undecided → High
assignee: nobody → Thomas Herve (therve)
Revision history for this message
Thomas Herve (therve) wrote :
Changed in zaqar:
milestone: none → newton-rc2
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zaqar (master)

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

commit d7c16b9f92a67e8d2f7d02f0b9be23c547bf03fa
Author: Thomas Herve <email address hidden>
Date: Tue Sep 13 11:35:57 2016 +0200

    Don't check key format in mongodb

    Remove check on key when inserting messages when using mongodb storage.

    Closes-Bug: #1623359

    Change-Id: Iac3d863d14203157b1e5979450b235d735ead4ae

Changed in zaqar:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zaqar (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/373217

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zaqar (stable/newton)

Reviewed: https://review.openstack.org/373217
Committed: https://git.openstack.org/cgit/openstack/zaqar/commit/?id=1c77c6e48520301798e558c8234a012a575e3275
Submitter: Jenkins
Branch: stable/newton

commit 1c77c6e48520301798e558c8234a012a575e3275
Author: Thomas Herve <email address hidden>
Date: Tue Sep 13 11:35:57 2016 +0200

    Don't check key format in mongodb

    Remove check on key when inserting messages when using mongodb storage.

    Closes-Bug: #1623359

    Change-Id: Iac3d863d14203157b1e5979450b235d735ead4ae
    (cherry picked from commit d7c16b9f92a67e8d2f7d02f0b9be23c547bf03fa)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zaqar 3.0.0.0rc2

This issue was fixed in the openstack/zaqar 3.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zaqar 3.0.0

This issue was fixed in the openstack/zaqar 3.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zaqar 4.0.0.0b1

This issue was fixed in the openstack/zaqar 4.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zaqar 3.0.0

This issue was fixed in the openstack/zaqar 3.0.0 release.

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.