tracker issue : CF-4203974

select a category, or use search below
(searches all categories and all time range)
Title:

___IMPLICITARRYSTRUCTVAR16 when using ArrayFind

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Sebastian H. / ()

Created: 01/24/2019

Components: Language, Application Framework

Versions: 2016,2018

Failure Type: Crash

Found In Build/Fixed In Build: * / CF2016U12,CF2018U5

Priority/Frequency: Normal / Not Reproducible

Locale/System: German / Mac 10 All

Vote Count: 0

Problem Description:
I'm getting an error of an undefined variable which is used nowhere in the code.

Steps to Reproduce:
{code:java}
<cfif ArrayFind([1, 3], …)>
    <!--- Output 1 --->
<cfelseif ArrayFind([2, 3], …>
    <!--- Output 2 --->
</cfif>
{code}


Actual Result:
Variable ___IMPLICITARRYSTRUCTVAR16 is undefined

Expected Result:
Either output 1 or output 2 should be shown

Any Workarounds:
Using ListFind('1,3', …)

Attachments:

Comments:

If anyone wants to try that out on its own: https://www.trycf.com/gist/b1920327d8d2b014c63593ad1c398a7c/acf2016?theme=monokai
Comment by Sebastian H.
30144 | January 24, 2019 11:38:50 AM GMT
That might be associated with https://forums.adobe.com/thread/797015
Comment by Sebastian H.
30145 | January 24, 2019 07:08:48 PM GMT