update share_type's name to an exist share_type name, Postgres database will error, but not mysql.

Bug #1843436 reported by haixin on 2019-09-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

manila type-create Example_1 --snapshot_support False False
manila type-create Example_2 --snapshot_support False False
manila type-update Example_2 --name "Example_1"

if the datebase is Postgres database will get DB error follow:
Error traceback: http://paste.openstack.org/show/774664/

but mysql database does not has that error,

The following code affects the problem described above:
if change ~model.deleted to model.deleted != "False".it will lead to unit test failed.

Goutham Pacha Ravi (gouthamr) wrote :
Changed in manila:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers