BASEV2.__table_args__ is not properly overloaded

Bug #1413985 reported by Cedric Brandily
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Cedric Brandily

Bug Description

neutron.db.model_base.BASEV2 defines __table_args__ attribute.
Most of its subclasses overloading __table_args__ does not properly inherit the __table args__ from parent class.

Tags: db
Changed in neutron:
assignee: nobody → Cedric Brandily (cbrandily)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

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

Reviewed: https://review.openstack.org/149731
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=0c5d35f37c9767038269d6a9e1a04e742ca925fc
Submitter: Jenkins
Branch: master

commit 0c5d35f37c9767038269d6a9e1a04e742ca925fc
Author: Cedric Brandily <email address hidden>
Date: Fri Jan 23 19:21:24 2015 +0000

    Overload correctly BASEV2.__table_args__

    neutron.db.model_base.BASEV2 defines __table_args__ attribute. Its
    subclasses overloading __table_args__ should inherit __table_args__ from
    parent class.

    A migration script is not needed as __table_args__ are not overloaded in
    neutron.db.migration.models.frozen module.

    Closes-Bug: #1413985
    Change-Id: Ied625252714e2e952f9831d0d03c4573306fe29d

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: kilo-2 → 2015.1.0
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.