is_uuid_like does not handle correctly non-lowercase uuids

Bug #1405624 reported by Cedric Brandily
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo-incubator
Fix Released
Medium
Cedric Brandily
oslo.utils
Fix Released
Medium
Cedric Brandily

Bug Description

According to RFC 4122, uuids are case insensitive but the following assertion fails:

assert uuidutils.is_uuid_like(uuidutils.generate_uuid().upper()) == True

Changed in oslo-incubator:
assignee: nobody → Cedric Brandily (cbrandily)
Revision history for this message
Cedric Brandily (cbrandily) wrote :
Changed in oslo-incubator:
status: New → In Progress
affects: oslo-incubator → oslo.utils
Changed in oslo-incubator:
assignee: nobody → Cedric Brandily (cbrandily)
status: New → In Progress
Ben Nemec (bnemec)
Changed in oslo-incubator:
importance: Undecided → Medium
Changed in oslo.utils:
importance: Undecided → Medium
Changed in oslo-incubator:
status: In Progress → Fix Committed
Changed in oslo.utils:
status: In Progress → Fix Committed
Changed in oslo.utils:
milestone: none → 1.1.1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in oslo-incubator:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in oslo-incubator:
milestone: kilo-2 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.