tracker issue : CF-4126684

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

CLI.getNamedArgs() should return CFML struct

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Sean Corfield / Sean Corfield (Sean Corfield)

Created: 03/09/2016

Components: CLI

Versions: 2016

Failure Type:

Found In Build/Fixed In Build: Alpha_v12 /

Priority/Frequency: Normal / Few users will encounter

Locale/System: English / Mac All

Vote Count: 0

Problem Description:

CLI.getNamedArgs() returns a native Java array -- String[] -- when it would make more sense to return a CFML struct.

Steps to Reproduce:

Call CLI.getNamedArgs()

Actual Result:

Native Java String[] array -- which you still have to parse to get name/value pairs!

Expected Result:

CFML struct of name/value pairs.

Any Workarounds:

Per 4022982 call arraylen and iterate "manually".

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

Watson Bug ID:	4126684

External Customer Info:
External Company: Railo US
External Customer Name: Sean Corfield
External Customer Email: SEAN@CORFIELD.ORG
External Test Config:

Attachments:

Comments:

Adding BUG AUDIT TRAIL ********action: updated fieldName: Owner newValue: Blank oldValue: hkallae oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-09-02 06:35:27.0 action: updated fieldName: Closed By newValue: hkallae oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-09-02 06:35:27.0 action: updated fieldName: Reason newValue: Blank oldValue: Fixed oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-09-02 06:35:27.0 action: updated fieldName: State newValue: Closed oldValue: Open oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-09-02 06:35:27.0 action: updated fieldName: Status newValue: Fixed oldValue: ToTest oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-09-02 06:35:27.0 action: updated fieldName: Date Closed newValue: 2015-09-01 23:35:27.0 oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-09-02 06:35:27.0 action: updated fieldName: Status newValue: ToTest oldValue: ToFix oprid: himar recordName: RQ_DEFECT timpestamp: 2015-08-18 10:01:08.0 action: updated fieldName: Changelist newValue: 294963 oldValue: Blank oprid: himar recordName: RQ_DEFECT timpestamp: 2015-08-18 10:01:08.0 action: updated fieldName: Reason newValue: Fixed oldValue: Blank oprid: himar recordName: RQ_DEFECT timpestamp: 2015-08-18 10:01:08.0 action: updated fieldName: Date Fixed newValue: 2015-08-18 03:01:08.0 oldValue: Blank oprid: himar recordName: RQ_DEFECT timpestamp: 2015-08-18 10:01:08.0 action: updated fieldName: Fixed By newValue: himar oldValue: Blank oprid: himar recordName: RQ_DEFECT timpestamp: 2015-08-18 10:01:08.0 action: updated fieldName: Owner newValue: hkallae oldValue: himar oprid: himar recordName: RQ_DEFECT timpestamp: 2015-08-18 10:01:08.0 action: updated fieldName: Reason newValue: Blank oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-21 04:14:16.0 action: updated fieldName: Status newValue: ToFix oldValue: Unverified oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-21 04:14:16.0 action: updated fieldName: Fix By Milestone newValue: Beta oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-21 04:14:16.0 action: updated fieldName: Fix By Product Milestone newValue: Beta oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-21 04:14:16.0 action: updated fieldName: Priority newValue: 2 oldValue: 0 oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-21 04:14:16.0 action: updated fieldName: Owner newValue: himar oldValue: hkallae oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-07-21 04:14:16.0
Comment by CFwatson U.
3511 | March 09, 2016 04:37:43 AM GMT
Added By: PreRelease User User Name:Sean Corfield Note Added: Confirmed fixed in 9/15 Alpha -- now returns a struct. Thank you! Date Added :2015-09-15 21:15:58.0 Added By: PreRelease User User Name:Sean Corfield Note Added: Entered Bug. Date Added :2015-07-20 16:57:33.0
Comment by CFwatson U.
3512 | March 09, 2016 04:37:44 AM GMT