tracker issue : CF-4126739

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

Probable bug: sorted struct callback arguments

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

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

Created: 03/09/2016

Components: Language

Versions: 2016

Failure Type: Unspecified

Found In Build/Fixed In Build: Alpha_v12 /

Priority/Frequency: Major / Unknown

Locale/System: English / Win All

Vote Count: 0

I’m just after clarification of this code:


sorted = structNew("sorted", function(key1,key2){

writeDump(arguments);
abort;
});
sorted.first = 2;


Note I’m aborting in the callback loop. I’d expect key1 and key2 to be strings, however they are instances of coldfusion.util.Key. Why’s that? Everywhere else in CFML a struct’s keys are just strings.

-- 
Adam

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

Watson Bug ID:	4126739

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: Date Closed newValue: 2015-09-24 05:49:11.0 oldValue: Blank oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-09-24 12:49:11.0 action: updated fieldName: Closed By newValue: suchsing oldValue: Blank oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-09-24 12:49:11.0 action: updated fieldName: Owner newValue: Blank oldValue: suchsing oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-09-24 12:49:11.0 action: updated fieldName: Status newValue: Fixed oldValue: ToTest oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-09-24 12:49:11.0 action: updated fieldName: State newValue: Closed oldValue: Open oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-09-24 12:49:11.0 action: updated fieldName: Reason newValue: Blank oldValue: Fixed oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-09-24 12:49:11.0 action: updated fieldName: Date Fixed newValue: 2015-09-24 02:07:02.0 oldValue: Blank oprid: mchandna recordName: RQ_DEFECT timpestamp: 2015-09-24 09:07:02.0 action: updated fieldName: Fixed By newValue: mchandna oldValue: Blank oprid: mchandna recordName: RQ_DEFECT timpestamp: 2015-09-24 09:07:02.0 action: updated fieldName: Changelist newValue: 295704 oldValue: Blank oprid: mchandna recordName: RQ_DEFECT timpestamp: 2015-09-24 09:07:02.0 action: updated fieldName: Status newValue: ToTest oldValue: ToFix oprid: mchandna recordName: RQ_DEFECT timpestamp: 2015-09-24 09:07:02.0 action: updated fieldName: Reason newValue: Fixed oldValue: Investigate oprid: mchandna recordName: RQ_DEFECT timpestamp: 2015-09-24 09:07:02.0 action: updated fieldName: Owner newValue: suchsing oldValue: mchandna oprid: mchandna recordName: RQ_DEFECT timpestamp: 2015-09-24 09:07:02.0 action: updated fieldName: Priority newValue: 3 oldValue: 0 oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-08 09:51:50.0 action: updated fieldName: Fix By Milestone newValue: Beta oldValue: Alpha oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-08 09:51:50.0 action: updated fieldName: Fix By Product Milestone newValue: Beta oldValue: Alpha1 oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-08 09:51:50.0 action: updated fieldName: Fix By Product Milestone newValue: Alpha1 oldValue: Blank oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-07-15 06:18:51.0 action: updated fieldName: Fix By Milestone newValue: Alpha oldValue: Blank oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-07-15 06:18:51.0 action: updated fieldName: Reason newValue: Investigate oldValue: Blank oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-07-15 06:18:51.0 action: updated fieldName: Status newValue: ToFix oldValue: Unverified oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-07-15 06:18:51.0 action: updated fieldName: Owner newValue: mchandna oldValue: suchsing oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-07-15 06:18:51.0 action: updated fieldName: Dev Assigned newValue: mchandna oldValue: awdhesh oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-07-15 03:24:05.0 action: updated fieldName: Owner newValue: suchsing oldValue: inoel oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-07-15 03:23:56.0 action: updated fieldName: QE Assigned newValue: suchsing oldValue: inoel oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-07-15 03:23:56.0
Comment by CFwatson U.
3337 | March 09, 2016 04:52:29 AM GMT
Added By: PreRelease User User Name:Adam Cameron Note Added: Entered Bug. Date Added :2015-07-13 08:57:48.0
Comment by CFwatson U.
3338 | March 09, 2016 04:52:31 AM GMT