Pre Field Userexit evt_cal_mac @POP_FIELD for Longtext Field Leads to Server Crash (Doc ID 2025762.1)

Last updated on JULY 11, 2016

Applies to:

Oracle Agile Engineering Data Management - Version 6.1.3.0 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
--------------------------
On Agile e6.1.3.0 - HF14 -

Find calling evt_cal_mac @POP-FIELD as pre field usx for longtext fields, results in server crash


STEPS:
---------------------
1. Start Java Client as manager

2. Create LGV procedure "TEST/LongTxt_prf" having two lines
  
  10 || STR = field_name()
  20 || RES = @evt_cal_mac (strcat ("@POP-FIELD ",STR))

  Variables:
  STR type: S
  RES type: I

3. Open Mask data mask and load "EDB-TXT-TMP-SBF-GEN"

4. on Field Assignment tab for field: T_TXT_TPL_DAT.EDB_TEXT_DEF
  add pre field usx: "TEST/LongTxt_prf"

5. Re-create mask "EDB-TXT-TMP-SBF-GEN"

6. Now open text template form from TOP-Menu via
 Start > Text Management > Templates

7. Load a record having more than 530 characters in field
  T_TXT_TPL_DAT.EDB_TEXT_DEF_(lng) - e.g. like
  XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-X--70
  XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-X--70
  XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-X--70
  XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-X--70
  XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-X--70
  XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-X--70
  XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-X--70
  XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-X--70
  XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-X--70
  XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-X--70


8. Switch to edit mode and enter longtext field T_TXT_TPL_DAT.EDB_TEXT_DEF_(lng)
Receive message:
Connection to <hostname> lost ...

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