Siebel Tools - Export/import of JS File Removes CRL/LF from Declarations Script (Doc ID 2202547.1)

Last updated on JANUARY 17, 2017

Applies to:

Siebel Tools - Version 16.5 [IP2016] and later
Information in this document applies to any platform.

Symptoms


ACTUAL BEHAVIOR:

Siebel Tools script export/import removes CRL/LF from script

Issue: Import scripts in Siebel Tools through file/import, some of the line breaks (CR/LF) will be deleted.
          The first line breaks found after every block-comment are affected, regardless, how many other chars / line-comments / code can be found between the block-comment and the line break. Happens only in 'declarations', but not in the functions.
          The most impact is on sequences with block comment - line comment - code. The real code will be commented out unintentionally after some imports, because it belongs then to the line comment.

The issue was found in IP15 but also reproduced in IP16.5.

EXPECTED BEHAVIOR:

The script should remain the same.

STEPS:

Steps/Navigation:

1. Imported the SIF for the BS - attached by customer (this is happening regardless of the BS) - any DEMO BS can be used
2. Exported the code to "SAMPLE.js"
3. Re-imported the exported JS file

 

RESULTS:

#3. Alerts:

---------------------------
Siebel
---------------------------
Procedure 'test1' was already defined in the import file!
While trying to read script procedures from an external file, the same procedure was found twice.

Do you wish to replace the existing procedure ?
---------------------------
Yes No
---------------------------

 > Clicked Yes

---------------------------
Siebel
---------------------------
Procedure 'Service_InvokeMethod' was already defined in the import file!
While trying to read script procedures from an external file, the same procedure was found twice.

Do you wish to replace the existing procedure ?
---------------------------
Yes No
---------------------------

 > Clicked Yes

---------------------------
Siebel
---------------------------
Procedure 'Service_PreCanInvokeMethod' was already defined in the import file!
While trying to read script procedures from an external file, the same procedure was found twice.

Do you wish to replace the existing procedure ?
---------------------------
Yes No
---------------------------

 > Clicked Yes

---------------------------
Siebel
---------------------------
Procedure 'Service_PreInvokeMethod' was already defined in the import file!
While trying to read script procedures from an external file, the same procedure was found twice.

Do you wish to replace the existing procedure ?
---------------------------
Yes No
---------------------------

 > Clicked Yes

---------------------------
Siebel
---------------------------
Procedure '(declarations)' was already defined in the import file!
While trying to read script procedures from an external file, the same procedure was found twice.

Do you wish to replace the existing procedure ?
---------------------------
Yes No
---------------------------

 > Clicked Yes

 

How the lines are seen:

 

------------------------------
Initial code:
------------------------------

 




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