tracker issue : CF-4201690

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

[ANeff] Doc Bug for: ListMap() syntax and parameters incorrect

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

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

Created: 03/23/2018

Components: Documentation

Versions: 2016

Failure Type: Others

Found In Build/Fixed In Build: 0 / latest doc

Priority/Frequency: Normal /

Locale/System: / Platforms All

Vote Count: 0

Issue: ListMap()'s syntax and parameters incorrect:
1) Callback receives 5 parameters (item, index, list, delimiter and includeEmptyFields), but the Syntax and Parameters sections only shows the 1st 3.
2) ListMap() doesn't take a initialValue parameter, so that should be removed from the Parameters section.
3) In the Syntax section, "delimter" should be "delimter" (missing 2nd "i").

Related URL: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-l/listmap.html

Attachments:

Comments:

Also, in the Syntax section, there should be no square brackets inside the callback's parentheses. Meaning, function(item [,index, list]) should not have had any square brackets in there. B/c the callback -always- receives all 5 parameters. Thanks!, -Aaron
Comment by Aaron N.
21 | March 23, 2018 03:41:39 AM GMT
3) In the Syntax section, "delimter" should be "delimter" (missing 2nd "i"). should've been 3) In the Parameters section, "delimter" should be "delimter" (missing 2nd "i"). I incorrectly said "Syntax section", when I meant "Parameters section". Thanks!, -Aaron
Comment by Aaron N.
22 | March 23, 2018 03:45:16 AM GMT