Public bug reported: In [1], we allow get_objects() to filter LIKE statements, i.e. starts, contains and ends.
However, the parent class lacks necessary initialization of these three attributes. There is also a trivial bug in [2], the usage of LIKE statement should be "obj_utils.StringContains()", not "obj_utils.StringMatchingContains()". [1] https://review.openstack.org/#/c/419152/ [2] https://github.com/openstack/neutron/blob/master/doc/source/contributor/internals/objects_usage.rst ** Affects: neutron Importance: Undecided Assignee: Lujin Luo (luo-lujin) Status: New ** Changed in: neutron Assignee: (unassigned) => Lujin Luo (luo-lujin) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1724446 Title: object string field filtering on "LIKE" statement lacks initialization Status in neutron: New Bug description: In [1], we allow get_objects() to filter LIKE statements, i.e. starts, contains and ends. However, the parent class lacks necessary initialization of these three attributes. There is also a trivial bug in [2], the usage of LIKE statement should be "obj_utils.StringContains()", not "obj_utils.StringMatchingContains()". [1] https://review.openstack.org/#/c/419152/ [2] https://github.com/openstack/neutron/blob/master/doc/source/contributor/internals/objects_usage.rst To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1724446/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

