Title:
Bug 84932:(Watson Migration Closure)[ANeff] Bug for: (typo in error msg) Addtl params passed into a function, which accepts exactly 2+
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 11/03/2010
Components: Language, Exception Handling
Versions: 9.0.1
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 / Update 3
Priority/Frequency: Normal / Some users will encounter
Locale/System: English / Win All
Vote Count: 0
Problem:
[ANeff] Bug for: (typo in error msg) Addtl params passed into a function, which accepts exactly 2+..When a function accepts exactly 2+ parameters, w/ no optional parameters, then there is a typo in the message returned, when additional parameters are passed in. CF's error message states: "The function takes n parameter." (note: The "parameter" should be "parameters".)(see steps to reproduce)
Method:
Run any of the following:- month(now(), "");//The function takes 1 parameter. (correct)- left("", 1, "");//The function takes 2 parameter. (incorrect; "parameter" should be plural "parameters")- mid("", 1, 1, "");//The function takes 3 parameter. (incorrect; "parameter" should be plural "parameters")- arraySet([], 1, 1, "", "");//The function takes 4 parameter. (incorrect; "parameter" should be plural "parameters")</cfscript>
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3042669
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email: 3D1D17B03C844EBF992001AC
External Test Config: 11/03/2010
Attachments:
Comments: