Status/Resolution/Reason: Closed/Withdrawn/NotABug
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 08/23/2012
Components: Language
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Win All
Vote Count: 0
Problem Description:
arrayContains() is supposed to be case sensitive, but when looking-up a struct, the look-up is case insensitive
Steps to Reproduce:
<cfset arrayToSearch = [{key="value"}]>
<cfset structToFind = {key="VALUE"}>
<cfdump var="#arrayToSearch#" label="arrayToSearch">
<cfdump var="#structToFind#" label="structToFind">
<cfoutput>
Was it found: #arrayContains(arrayToSearch, structToFind)#<br />
</cfoutput>
Actual Result:
Was it found: YES
Expected Result:
Was it found: NO
Any Workarounds:
Doesn't matter: it should work properly.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3316760
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: