Password(Optional & Encrypted)Throws Error When Left Blank While Creating Device (Doc ID 869302.1)

Last updated on SEPTEMBER 29, 2009

Applies to:

Oracle Communications Billing and Revenue Management - Version: 7.3.1.0.0
Information in this document applies to any platform.

Goal


While creating a new device using PCM_OP_DEVICE_CREATE opcode it requires some values in the password field eventhough the field is set as optional else device creation not happens.

 

Error Messages like:

D Tue Nov 03 04:02:51 2009 XXXX cm:7754 cm_utils_trans.c(14):362 1:XXXX:cm:4464:1:1301:1246964471:1 fm_utils_trans_abort returning
E Tue Nov 03 04:02:51 2009 XXXX cm:7754 fm_device_create.c:137 1:XXXX:cm:4464:1:1301:1246964471:1 op_device_create error
<location=PIN_ERRLOC_DM:4 class=UNKNOWN:0 errno=PIN_ERR_BAD_ARG:4>
<field num=0:0,0 recid=0 reserved=0 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
E Tue Nov 03 04:02:51 2009 XXXX cm:7754 cm_child.c(107):4655 1:XXXX:cm:4464:1:1301:1246964471:1 op PCM_OP_DEVICE_CREATE returned an error <location=PIN_ERRLOC_DM:4 class=UNKNOWN:0 errno=PIN_ERR_BAD_ARG:4>
<field num=0:0,0 recid=0 reserved=0 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>



Steps to reproduce:
1. Create a field PIN_FLD_PASSWORD which is optional and encrypted using Developer Center Client.
2. Add this field to /device/sim by dragging and dropping it from field browser to class browser.
3.Commit this class to database.
4.Generate custom fields source from the File Menu(Developer Center).This will generate cust_flds.h and InfranetPropertiesAdditions.properties.
5.Run the parse_custom_ops_fields.pl Perl script on the cust_flds.h file,created by Storable Class Editor.
6.Modify pin.conf to include the above generated cust_flds.h.
7. Generate the Flist and run the PCM_OP_DEVICE_CREATE Opcode in testnap.

Solution

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