Voucher Batch Creation Script Does Not Avoid Parameters Properly

(Doc ID 2243474.1)

Last updated on APRIL 13, 2017

Applies to:

Oracle Communications Network Charging and Control - Version 4.4.1 to 5.0.3 [Release 4.4 to 5.0]
Information in this document applies to any platform.

Symptoms

In Oracle Communications Network Charging and Control, voucher batches are created either by:

1. running one of the ccsVoucher scripts directly, it can be used with data entered from command line.

2. using the Create Voucher Batch screen via the Vouchers menu from CCS.

 

 

Issue is that ccsVoucherStartup.sh script does not correctly deal with command-line parameters that have zero length string values.

For example, creating vouchers with no batch code, the batch code "-F" will be used as it doesn't check zero-length strings before appending to the command line:
This results in a command line that reads, in part: -B -F


Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms