tracker issue : CF-3911221

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

each not available for list funcs

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)

Created: 12/17/2014

Components: General Server

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Mac 10 All

Vote Count: 0

While listEach works, I could have sworn this worked - in fact, I'm pretty darn sure it did - I had it in a presentation:

names = "Ray,Scott,Todd,Dave";

names.each(function(n,i) {
	writeOutput(n);
	if(i < n.len()) writeOutput(", ");
});

Now it throws an error.

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

Watson Bug ID:	3911221

External Customer Info:
External Company:  
External Customer Name: cfjedimaster
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

map is broken as well - please make note of this as I'm not logging another bug.
Comment by External U.
9268 | December 17, 2014 02:21:56 PM GMT
I'm 0 for 2 today. Apparently these became .listMap, .listEach and I didn't get the memo. Close.
Comment by External U.
9269 | December 17, 2014 02:44:29 PM GMT
each has been changed to listEach. Thanks, Suchika.
Comment by Suchika S.
9270 | December 18, 2014 12:49:26 AM GMT