Status/Resolution/Reason: Closed/Withdrawn/Duplicate
Reporter/Name(from Bugbase): Neil Pugh / Neil Pugh (Neil Pugh)
Created: 06/30/2015
Components: Language
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Normal / Most users will encounter
Locale/System: English / Windows 7
Vote Count: 0
Duplicate ID: CF-4082131
Problem Description: If you dynamically create the array used by ArrayFind then the code will error with some weird variable not created by the user.
Steps to Reproduce:
<cfif false>
<cfelseif ArrayFind(["a","b"], "a")>
</cfif>
Actual Result: Error. "Variable ___IMPLICITARRYSTRUCTVAR0 is undefined"
Expected Result: Not an error. The condition is met and nothing is output.
Any Workarounds: Yes but come on this is core code it should work.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4014645
External Customer Info:
External Company:
External Customer Name: Neil
External Customer Email:
External Test Config: My Hardware and Environment details: Windows 7.
Attachments:
Comments: