]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix sqlalchemy bug in transfer_get_all_by_project
authorOllie Leahy <oliver.leahy@hp.com>
Thu, 19 Dec 2013 16:11:29 +0000 (16:11 +0000)
committerjohn-griffith <john.griffith@solidfire.com>
Wed, 8 Jan 2014 23:35:14 +0000 (16:35 -0700)
commitd017dbacc89233ec0f786f5af5d760b02b67a7cb
tree39351de2f1689a643a998ff5ca60a6d45bf9939f
parentda2caad4b952a19b183beacc9670aff1fbe2415d
Fix sqlalchemy bug in transfer_get_all_by_project

Because of incorrect use of the sqlalchemy methods joinedload and filter,
incorrect lists of volume transfers were being returned by
transfer_get_all_by_project().

Change-Id: I378a512611591eec896edd5f217e75f9ff0f8ad3
Closes-Bug: 1262432
cinder/db/sqlalchemy/api.py
cinder/tests/test_volume_transfer.py