Orianne Siret (OrianneS)
Sopra Steria

Sopra Steria
OrianneS Member since 2015 7 posts
Sopra Steria
Posted: June 15, 2017
Last activity: August 28, 2017
Posted: 15 Jun 2017 12:27 EDT
Last activity: 28 Aug 2017 13:24 EDT

Deffered instance outdated causes insert on commit


I just resolved a bug on my application but I don't understand the error Pega gave to me, that caused the resolution of the bug to be much harder.

I did an Obj-Open-By-Handle on an object. I modified the corresponding clipboard page, saved it one time.

At this stage, I understand that there is the creation of a defferend instance that will be commited at the next move in a flow for example.

Then I modified the clipboard page another time and forgot to save it.

So at the next commit, I should have a pyCommitError like : "A commit cannot be performed because a deferred save of instance ..." : am I wrong ?

Instead Pega does an insert (instead of a merge) in the database causing the following error : "** ORA-00001: unique constraint (ORACLE.XXXXX violated".

I don't understand this behaviour. Why the insert ? Why not the other pyCommitError ?

Thanks for your help,

Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.