My Oracle Support Banner

cmnConfigChk Fails to Parse Array Definitions with Single Quote Elements (Doc ID 2529346.1)

Last updated on OCTOBER 15, 2019

Applies to:

Oracle Communications Convergent Charging Controller - Version 6.0.0 and later
Oracle Communications Network Charging and Control - Version 4.3.0 and later
Information in this document applies to any platform.

Symptoms

On all versions of Oracle Communications Network Charging and Control (OCNCC or NCC) and Oracle Communications Convergent Charging Controller (OC3C or 3C), the cmnConfigChk() API fails to pass array definitions where a single quote ("'") is an element.

The following error is thrown:

Config file syntax error: /<DIR>/test.cfg:5: Syntax Error

 The filename and line number will vary.

For example, if custom code requires the following configuration:

bash-4.2$ cat /tmp/test.cfg
TEST = {
   test = {
       line = ["a", "'", "KEY", "NAME"]
   }
}

Then parsing this configuration will fail (and cmnConfigSyntaxCheck will also exit with a success return code):

bash-4.2$ ./cmnConfigSyntaxCheck /tmp/test.cfg
Config file syntax error: /tmp/test.cfg:3: Syntax Error
bash-4.2$ echo $?
0

As a result, any custom configuration will fail to be parsed and cannot be used with any customization.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.