Comment 3 for bug 1321540

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/94641
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=43c33fff9b0cc023e921d4ac3cb8a5241e38694c
Submitter: Jenkins
Branch: master

commit 43c33fff9b0cc023e921d4ac3cb8a5241e38694c
Author: Thomas Spatzier <email address hidden>
Date: Wed May 21 16:36:59 2014 +0200

    Respect schema data type in constraint validation

    This patch makes Constraint objects aware of the data type of the
    owning Schema object so constraint validation can apply potential
    type casts based on the data type.
    This is especially useful and necessary for an AllowedValues
    constraint and numeric values, where items may be defined as
    strings or numbers and cause comparison issues with user values
    at runtime.

    Change-Id: Id1884b4968993fc9356e7ba4ad03dced4cd00d4e
    Closes-Bug: #1321540