Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Anastassios Hadjicrystallis / Anastassios Hadjicrystallis (Anastassios Hadjicrystallis)
Created: 07/24/2013
Components: Language
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final / 286104
Priority/Frequency: Major / All users will encounter
Locale/System: English / Windows 7 64-bit
Vote Count: 0
Problem Description:
When running ListDeleteAt with includeEmptyValues="Yes" for deleting the last item of a list
it adds the delimeter to the end of the returning list
Steps to Reproduce:
<cfset aa = "A,B,C,D">
<cfset aa = ListDeleteAt( aa, 4, "," , "Yes" )>
<cfoutput>#aa#</cfoutput>
Actual Result:
"A,B,C," (at the end it has the delimeter. It should not)
Expected Result:
"A,B,C"
Any Workarounds:
When using includeEmptyValues="No" it works fine
<cfset aa = "A,B,C,D">
<cfset aa = ListDeleteAt( aa, 4, "," , "No" )>
<cfoutput>#aa#</cfoutput>
returns "A,B,C"
The list has no empty items at all, so the includeEmptyValues should give the same result whatever it is Yes/No
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3600820
External Customer Info:
External Company:
External Customer Name: AXcrystallis
External Customer Email:
External Test Config: My Hardware and Environment details:
Coldfusion 10,0,11,285437
Edition Developer
Windows 7 64 Bit
Tomcat Version 7.0.23.0
Java Version 1.6.0_29
CPU Intel i7
RAM 8 Gb
Attachments:
Comments: