tracker issue : CF-3714525

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

struct : filter : Exception message needs to be corrected

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): / ext-user (Anuj Nawani)

Created: 02/27/2014

Components: Language, Functions

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: 288792 /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Windows 7 64-bit

Vote Count: 0

Code snippet:
<cfset structObj = {name="anuj", value="value"}>
<cfscript>
filteredKeyValue = structObj.Filter(function(key, value){

});
</cfscript>

Actual: Message is shown as : 
An exception occurred while calling the function filter..(Exrta dot needs to be removed and message needs to be changed)
Function return type for StructFilter is not valid.(Function name should be filter and message needs to changed)

Excepted: Message should be shown as :
Function return type for filter is not valid.
Function should return a boolean value.

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

Watson Bug ID:	3714525

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

Attachments:

Comments: