tracker issue : CF-3039671

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 79431:(Watson Migration Closure)The createUUID() function returns a ColdFusion-specific UUID format , with no matching function to create a standard-format GUID

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/

Reporter/Name(from Bugbase): Tracy Logan / Tracy Logan (logantracyo)

Created: 08/15/2009

Components: Language, Functions

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 4

Problem:

The createUUID() function returns a ColdFusion-specific UUID format , with no matching function to create a standard-format GUID.  It's easy enough to fake one , by using insert(createUUID, 23, '-'), but  it'd sure be convenient to have either a createGUID() or createUUID(format='standard') built-in.A number of people have created workarounds for this (minor, but important) difference between CF and standard UUID's, so this seems to be an issue of widespread mild concern.
Method:

uuid = createUUID();guid = insert('-', uuid, 23);writeOutput(isValid('uuid', uuid) && isValid('guid', guid) ); // returns YES
Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3039671

External Customer Info:
External Company:  
External Customer Name: Tracy Logan
External Customer Email: 563342F644906BB2992015D5
External Test Config: 08/15/2009

Attachments:

Comments:

This bug has been voted..
Vote by External U.
23046 | November 10, 2011 07:01:58 PM GMT
This bug has been voted..
Vote by External U.
23047 | November 10, 2011 07:01:59 PM GMT
This bug has been voted..
Vote by External U.
23048 | November 10, 2011 07:02:00 PM GMT
+1 for CreateGUID(). Also conversion functions like UUIDToGUID() and GUIDToUUID() would be fine (or CreateGUID() could take a UUID as parameter and vice versa). As Tracy already said. Not much work to create them by yourself, but enhances the workflow a bit.
Vote by External U.
23049 | November 10, 2011 07:02:01 PM GMT