tracker issue : CF-4126742

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

cfloop index/item enhancements

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

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

Created: 03/09/2016

Components: Documentation

Versions: 2016

Failure Type: Unspecified

Found In Build/Fixed In Build: Alpha_v12 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Win All

Vote Count: 1

The docs say this:

Quote:
cfloop tag
A new attribute "item" is introduced in array cfloop for file, query, and list.

But it doesn't work at all for queries.

Now... I think you didn't actually mean to say "queries" there? Because queries have never worked with "index" or "item" in the first place. However there's no reason that they shouldn't, for the sake of internal consistency:
* index only - the query row (this is the wrong usage of the term "index", but it's uniformly wrong with all the other places you use this term wrong in this context)
* item only - the query row
* index and item: index=currentRow, item=row

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

Watson Bug ID:	4126742

External Customer Info:
External Company: Straker Interactive
External Customer Name: Adam Cameron
External Customer Email: CAMERON.ADAM@GMAIL.COM
External Test Config:

Attachments:

Comments:

Adding BUG AUDIT TRAIL ********action: updated fieldName: Closed By newValue: inoel oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-09-23 15:30:41.0 action: updated fieldName: State newValue: Closed oldValue: Open oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-09-23 15:30:41.0 action: updated fieldName: Reason newValue: Blank oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-09-23 15:30:41.0 action: updated fieldName: Owner newValue: Blank oldValue: inoel oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-09-23 15:30:41.0 action: updated fieldName: Date Fixed newValue: 2015-09-23 08:30:41.0 oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-09-23 15:30:41.0 action: updated fieldName: Fixed By newValue: inoel oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-09-23 15:30:41.0 action: updated fieldName: Date Closed newValue: 2015-09-23 08:30:41.0 oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-09-23 15:30:41.0 action: updated fieldName: Status newValue: Fixed oldValue: ToTest oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-09-23 15:30:41.0 action: updated fieldName: Status newValue: ToTest oldValue: ToFix oprid: jayakarr recordName: RQ_DEFECT timpestamp: 2015-09-23 14:59:36.0 action: updated fieldName: Reason newValue: Blank oldValue: Blank oprid: jayakarr recordName: RQ_DEFECT timpestamp: 2015-09-23 14:59:36.0 action: updated fieldName: Dev Assigned newValue: inoel oldValue: jayakarr oprid: jayakarr recordName: RQ_DEFECT timpestamp: 2015-09-16 06:30:59.0 action: updated fieldName: Owner newValue: inoel oldValue: jayakarr oprid: jayakarr recordName: RQ_DEFECT timpestamp: 2015-09-16 06:30:59.0 action: updated fieldName: Owner newValue: jayakarr oldValue: awdhesh oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-10 04:30:09.0 action: updated fieldName: Dev Assigned newValue: jayakarr oldValue: awdhesh oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-10 04:30:09.0 action: updated fieldName: Severity newValue: 0 oldValue: 3 oprid: awdhesh recordName: RQ_DEFECT timpestamp: 2015-08-18 04:31:21.0 action: updated fieldName: Fix By Milestone newValue: Beta oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-07-20 04:39:11.0 action: updated fieldName: Fix By Product Milestone newValue: Beta oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-07-20 04:39:11.0 action: updated fieldName: Status newValue: ToFix oldValue: Unverified oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-07-20 04:39:11.0 action: updated fieldName: Reason newValue: Blank oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-07-20 04:39:11.0 action: updated fieldName: Owner newValue: awdhesh oldValue: inoel oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-07-20 04:39:11.0 action: updated fieldName: Owner newValue: inoel oldValue: poojain oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-07-20 04:16:59.0 action: updated fieldName: QE Assigned newValue: inoel oldValue: poojain oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-07-20 04:16:59.0 action: updated fieldName: Owner newValue: poojain oldValue: inoel oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-07-20 04:01:55.0 action: updated fieldName: QE Assigned newValue: poojain oldValue: inoel oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-07-20 04:01:55.0 action: added fieldName: Vote Type newValue: BETA oldValue: Blank oprid: prerelease recordName: AD_DEFECT_VOTE timpestamp: 2015-07-14 21:09:03.0
Comment by CFwatson U.
3330 | March 09, 2016 04:52:58 AM GMT
Why is there the 25 character limit here too?
Vote by External U.
3332 | March 09, 2016 04:52:59 AM GMT
Added By:inoel Note Added: Fixed the docs to exclude query. The current behavior for query remains. Date Added :2015-09-23 15:30:41.0 Added By: PreRelease User User Name:Adam Cameron Note Added: Entered Bug. Date Added :2015-07-13 08:55:04.0
Comment by CFwatson U.
3331 | March 09, 2016 04:53:00 AM GMT