Neutron Objects do not override the UUIDField to actually validate UUIDs
Bug #1614537 reported by
Graham Hayes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
zainub |
Bug Description
Oslo Versioned Objects' implementation of the UUID Field does not actually validate anything.
It is a wrapper around a string type.
Projects are advised that to actually validate UUIDs, they need to override the field in their custom fields. [1]
Leaving it non validating can cause issues when the field is moved to validate, or there is an assumption that it is being validated.
Changed in neutron: | |
importance: | Undecided → Medium |
Changed in neutron: | |
assignee: | Graham Hayes (grahamhayes) → nobody |
status: | In Progress → Confirmed |
tags: | added: low-hanging-fruit |
Changed in neutron: | |
assignee: | nobody → zainub (zainub.wahid) |
Changed in neutron: | |
assignee: | zainub (zainub.wahid) → Graham Hayes (grahamhayes) |
status: | Confirmed → In Progress |
Changed in neutron: | |
assignee: | Graham Hayes (grahamhayes) → zainub (zainub.wahid) |
Changed in neutron: | |
assignee: | zainub (zainub.wahid) → nobody |
Changed in neutron: | |
assignee: | nobody → zainub (zainub.wahid) |
Changed in neutron: | |
assignee: | zainub (zainub.wahid) → Ihar Hrachyshka (ihar-hrachyshka) |
Changed in neutron: | |
assignee: | Ihar Hrachyshka (ihar-hrachyshka) → zainub (zainub.wahid) |
description: | updated |
Changed in neutron: | |
assignee: | zainub (zainub.wahid) → Ihar Hrachyshka (ihar-hrachyshka) |
Changed in neutron: | |
assignee: | Ihar Hrachyshka (ihar-hrachyshka) → zainub (zainub.wahid) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/357302
Review: https:/