tracker issue : CF-4119107

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

Docs for query iteration methods missing sections

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 02/18/2016

Components: Documentation

Versions: 2016

Failure Type:

Found In Build/Fixed In Build: CF2016_Final /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Platforms All

Vote Count: 0

Listed in the version 2016.0.02.299200 Issues Fixed doc
EG: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-m-r/queryfilter.html (and same applies to map, each, sort, reduce)

These pages are missing the category, history and see also sections.

The "func" argument should describe the function signature of the callback.

There should be a code example, with expected output.

And in the case of queryfilter(), the description is wrong too, as the function actually (and incorrectly) returns an array.

Oh the syntax definition is wrong too. There's the callback is not of type "UDFMethod", it's "Function". And the first argument needs to be a Query, not an object.

Basically, almost everything about this documentation is wrong. Well done.

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

Watson Bug ID:	4119107

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

Attachments:

Comments:

Hi Adam, Thanks for your feedback. I've added the missing sections and as soon as I update the code samples, I shall make the pages live. Again, apologies for the oversight. -Saurav
Comment by External U.
4644 | February 18, 2016 07:55:55 AM GMT
NP, thanks for updating.
Comment by External U.
4645 | February 18, 2016 08:24:34 AM GMT
test note
Comment by CFwatson U.
4646 | June 07, 2016 04:19:26 AM GMT
The fix for this bug is available as part of the early-access build for ColdFusion 2016 Update 2.
Comment by CFwatson U.
4647 | June 07, 2016 04:26:21 AM GMT