mesage.first returns ill-formed message when use mongodb

Bug #1296291 reported by Nataliia Uvarova on 2014-03-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
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)

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

Changed in marconi:
status: New → In Progress

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) on 2014-04-16
Changed in marconi:
milestone: none → icehouse-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-04-17
Changed in marconi:
milestone: icehouse-rc1 → 2014.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers