tracker issue : CF-4145519

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

[ANeff] Doc Bug for: some cfimapfilter flags undocumented (and minor typo in exception)

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

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

Created: 04/27/2016

Components: Documentation

Versions: 2016

Failure Type:

Found In Build/Fixed In Build: CF2016_Final /

Priority/Frequency: Minor / Some users will encounter

Locale/System: English / Platforms All

Vote Count: 0

Issue #1) The following cfimapfilter flags were added per 3630470 but are undocumented: DELETED,DRAFT,RECENT,NEW,OLD,UNFLAGGED

Repro:

cfimap(action="getall", connection="myConnection", name="result") {
    for(flag in "ANSWERED,DELETED,DRAFT,FLAGGED,SEEN,RECENT,NEW,OLD,UNANSWERED,UNDELETED,UNDRAFT,UNFLAGGED,UNSEEN") {
        cfimapfilter(name="flag", value=flag);
    }
}

Actual and expected result: All the flags work (good - so DELETED,DRAFT,RECENT,NEW,OLD,UNFLAGGED should be documented).

Issue #2) Minor typo in cfimapfilter flag exception.

Repro:

cfimap(action="getall", connection="myConnection", name="result") {
    cfimapfilter(name="flag", value="foo");
}

Actual result: "Valid values are ANSWERED, DELETED, DRAFT, FLAGGED, SEEN, RECENT, NEW, OLD, UNANSWERED, UNDELETED,UNDRAFT, UNFLAGGED, UNSEEN."

Expected result: "Valid values are ANSWERED, DELETED, DRAFT, FLAGGED, SEEN, RECENT, NEW, OLD, UNANSWERED, UNDELETED, UNDRAFT, UNFLAGGED, UNSEEN."

The "UNDELETED,UNDRAFT" should be "UNDELETED, UNDRAFT" (space is missing after comma).

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

Watson Bug ID:	4145519

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email:

Attachments:

Comments:

Hi Aaron, Thanks for pointing that out. I've added the missing flags. https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-i/cfimapfilter.html
Comment by External U.
3008 | May 09, 2016 12:39:31 AM GMT
Shreyash, check the second part of the issue.
Comment by Awdhesh K.
3009 | May 30, 2016 12:01:28 AM GMT
fixed in cf12_final_hotfix branch
Comment by Nikhil S.
3010 | June 17, 2016 07:40:12 AM GMT
Verified the fix in build #299271, added test case at //depot/qa/cf/regression/coretests/coldfusion/tags/internet-protocol/cfimap/bugs/CF-4145519.cfm
Comment by HariKrishna K.
3011 | June 20, 2016 01:12:30 AM GMT
Hi Saurav, Awesome, confirmed (the docs are updated). Thanks very much! -Aaron
Comment by External U.
3012 | July 05, 2016 01:51:25 PM GMT