Hi,

When I'm trying to save duplicated value to datasource I receive such message in debug window:

> USER : 12-09-2019 15:20:42
> aut_accounts_v1 USER : 12-09-2019
> 15:20:42 ORA-00001: unique constraint
> (CNL_AUT.AUT_ACT_UK1) violated
> ORA-06512: at
> "CNL_AUT.AUT_ACCOUNTS_V_TRG", line 22
> ORA-04088: error during execution of
> trigger 'CNL_AUT.AUT_ACCOUNTS_V_TRG'

But when I'm running this code in OnError event:

l_exception  := api_exception.getexception();
   dl('l_exception: '||l_exception.message_tx||';'||l_exception.exceptioncode_tx||';'||l_exception.methodname_tx||';'||l_exception.errorbacktrace_tx||';'||l_exception.unsecureevent_yn);

It gives me this result:

l_exception: ;-1;;;N

And api_error.getlogs gives empty result.

Looks like the api_datasource.doCommit does not log the exception properly or am I missing something?

Thank you in advance for help.

asked 12 Sep, 09:32

Gonzo82's gravatar image

Gonzo82
111
accept rate: 0%

Forgot to mention that version is 1.11.0.

(13 Sep, 02:26) Gonzo82
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6
×2

Asked: 12 Sep, 09:32

Seen: 66 times

Last updated: 13 Sep, 02:26


© Copyright Gerger 2017