mesage.first returns ill-formed message when use mongodb

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

Bug Description

When use mongodb, the 'first' action of MessageController returns the whole mongodb doc, not expected dict with 4 fields.

Thus tests.unit.queues.storage.test_impl_mongodb.MongodbMessageTests.test_sort_for_first fails.

Changed in marconi:
assignee: nobody → Nataliia Uvarova (grafinya-uvarova)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to marconi (master)

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

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

Reviewed: https://review.openstack.org/82363
Committed: https://git.openstack.org/cgit/openstack/marconi/commit/?id=8b450310d83f8c0fca0c03c411a3051bc7f791c5
Submitter: Jenkins
Branch: master

commit 8b450310d83f8c0fca0c03c411a3051bc7f791c5
Author: Nataliia Uvarova <email address hidden>
Date: Sun Mar 23 15:43:45 2014 +0100

    Fix message.first return value for mongodb

    In mongodb implementation of MessageController first action didn't return
    proper doc, but whole mongo doc instead.

    Change-Id: I7927bf5c9d69c0ef8ea432b20e6368e1d92b1dca
    Closes-Bug: #1296291

Changed in marconi:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in marconi:
milestone: none → icehouse-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in marconi:
milestone: icehouse-rc1 → 2014.1
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.