tracker issue : CF-4126635

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

CLI: cf.sh does not pass command line arguments to CLI bridge

| 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: Unspecified

Found In Build/Fixed In Build: Alpha_v12 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Mac All

Vote Count: 0

Problem Description:

The cf.sh script only passes $1 to the CLI bridge therefore cli.getArgs() is always empty

Steps to Reproduce:

args.cfm:
<cfdump var="#cli.getArgs()#">

$ cf.sh args.cfm 1 2 3 4

Actual Result:

Shows an empty array

Expected Result:

Should show an array with four arguments

Any Workarounds:

Change $1 to $* in the last line of the shell script.

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

Watson Bug ID:	4126635

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: Status newValue: Fixed oldValue: ToTest oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-09-22 04:42:40.0 action: updated fieldName: State newValue: Closed oldValue: Open oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-09-22 04:42:40.0 action: updated fieldName: Reason newValue: Blank oldValue: Fixed oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-09-22 04:42:40.0 action: updated fieldName: Owner newValue: Blank oldValue: hkallae oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-09-22 04:42:40.0 action: updated fieldName: Closed By newValue: hkallae oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-09-22 04:42:40.0 action: updated fieldName: Date Closed newValue: 2015-09-21 21:42:40.0 oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-09-22 04:42:40.0 action: updated fieldName: Reason newValue: Fixed oldValue: Blank oprid: himar recordName: RQ_DEFECT timpestamp: 2015-09-21 07:14:17.0 action: updated fieldName: Date Fixed newValue: 2015-09-21 00:14:17.0 oldValue: Blank oprid: himar recordName: RQ_DEFECT timpestamp: 2015-09-21 07:14:17.0 action: updated fieldName: Fixed By newValue: himar oldValue: Blank oprid: himar recordName: RQ_DEFECT timpestamp: 2015-09-21 07:14:17.0 action: updated fieldName: Owner newValue: hkallae oldValue: himar oprid: himar recordName: RQ_DEFECT timpestamp: 2015-09-21 07:14:17.0 action: updated fieldName: Status newValue: ToTest oldValue: ToFix oprid: himar recordName: RQ_DEFECT timpestamp: 2015-09-21 07:14:17.0 action: updated fieldName: Changelist newValue: 295574 oldValue: Blank oprid: himar recordName: RQ_DEFECT timpestamp: 2015-09-21 07:14:17.0 action: updated fieldName: Fix By Milestone newValue: Beta oldValue: Blank oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-16 05:50:49.0 action: updated fieldName: Fix By Product Milestone newValue: Beta oldValue: Blank oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-16 05:50:49.0 action: updated fieldName: Status newValue: ToFix oldValue: Unverified oprid: himar recordName: RQ_DEFECT timpestamp: 2015-09-16 03:07:13.0 action: updated fieldName: Reason newValue: Blank oldValue: Blank oprid: himar recordName: RQ_DEFECT timpestamp: 2015-09-16 03:07:13.0 action: updated fieldName: Owner newValue: himar oldValue: hkallae oprid: himar recordName: RQ_DEFECT timpestamp: 2015-09-16 03:07:13.0
Comment by CFwatson U.
3669 | March 09, 2016 04:21:17 AM GMT
Added By: PreRelease User User Name:Sean Corfield Note Added: I look forward to verifying this in the mid-October code drop! Date Added :2015-09-29 17:45:24.0 Added By: PreRelease User User Name:Sean Corfield Note Added: Entered Bug. Date Added :2015-09-15 21:45:38.0
Comment by CFwatson U.
3670 | March 09, 2016 04:21:19 AM GMT