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 TrackerStatus/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: