Status/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Mike Causer / Mike Causer (mike causer)
Created: 07/02/2012
Components: Language, Closures
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final /
Priority/Frequency: Major / All users will encounter
Locale/System: English / Mac 10.7 64-bit
Vote Count: 2
Problem Description: Documentation states ArrayFindAllNoCase() executes a closure. It appears to not.
ArrayFindAll() checks if the 2nd argument is a UDFMethod and if so, casts the Object as a UDFMethod so that Array.findAll() executes the closure.
ArrayFindAllNoCase() skips this step and calls Array.findAll() without checking/casting.
Steps to Reproduce: ArrayFindAllNoCase(array,function(currentObj) {return true|false;});
Actual Result: empty array
Expected Result: not an empty array
Any Workarounds: call ArrayFindAll() which does not appear to be case sensitive anyway?!
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3228672
External Customer Info:
External Company:
External Customer Name: mike causer
External Customer Email:
External Test Config: My Hardware and Environment details: Mac OSX Lion, ColdFusion 10,282462
Attachments:
Comments: