tracker issue : CF-3851972

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

[ANeff] Bug for: arrayFilter/array.filter() UDF arguments missing index and array

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 11/14/2014

Components: Language

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Win All

Vote Count: 1

Duplicate ID:	CF-3810965

The index and array arguments are missing within the UDF passed to arrayFilter/array.filter()

Repro (just uncomment each and run):

<cfscript>
  function myFunction(){writeDump(ARGUMENTS); abort;}
  
  /*myArray = listToArray("b||a||c", "|", true);
  writeOutput(arrayFilter(myArray, myFunction));//bug: index and array arguments are missing w/in UDF*/
  
  /*myArray = listToArray("b||a||c", "|", true);
  writeOutput(myArray.filter(myFunction));//bug: index and array arguments are missing w/in UDF*/
</cfscript>

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3851972

External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:

Attachments:

Comments:

+1 & subscribe //////////////////
Vote by External U.
10096 | November 14, 2014 06:21:19 AM GMT