Comment 11 for bug 1381379

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/icehouse)

Reviewed: https://review.openstack.org/137423
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=56fcf7dae508a7a3d437d69fe64aaa1d72acc004
Submitter: Jenkins
Branch: stable/icehouse

commit 56fcf7dae508a7a3d437d69fe64aaa1d72acc004
Author: Ann Kamyshnikova <email address hidden>
Date: Mon Nov 10 17:05:54 2014 +0300

    Convert all incoming protocol numbers to string

    PostgreSQL is more sensitive for types than MySQL when it selects
    something from columns in database. So it fails when it tries to
    select from string field comparing with integer value.

    Added unit test to verify conversion of protocol numbers to
    strings.

    Closes-bug:#1381379

    (cherry picked from commit bc34f26302faea116be7e61051c32f8787530836)

    Conflicts:
     neutron/tests/unit/test_extension_security_group.py

    Change-Id: I0a29595403a07c66888871088d5549705a097f68
    (cherry picked from commit c00b4b31276f9ae21fa0a7a213391277bda4cfa7)