Comment 9 for bug 1381379

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

Reviewed: https://review.openstack.org/137173
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=c00b4b31276f9ae21fa0a7a213391277bda4cfa7
Submitter: Jenkins
Branch: stable/juno

commit c00b4b31276f9ae21fa0a7a213391277bda4cfa7
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