Title:
Bug 84125:(Watson Migration Closure)In CF8, ListToArray('foo', '') returns an array with a single element containing 'foo', while in CF9, each character ends up in its own element
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/LowImpact
Reporter/Name(from Bugbase): Dave Merrill / Dave Merrill (Dave Merrill)
Created: 09/10/2010
Components: General Server
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 9,0,1,274733 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Win All
Vote Count: 0
Problem:
In CF8, ListToArray('foo', '') returns an array with a single element containing 'foo', while in CF9, each character ends up in its own element. (This construct is commonly used to convert a string to an array containing that string.) In addition, ListToArray('foo', '', 1) returns an array with empty items at the start and end, incorrect.
Method:
Evaluate the two expressions given in the summary under CF8 and CF9. The results are clearly different, and in my opinion, CF9 is clearly wrong.
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3042145
External Customer Info:
External Company:
External Customer Name: Dave Merrill
External Customer Email: 01061405446C42C7992016E5
External Test Config: 09/10/2010
Attachments:
Comments: