Unique Key violation detected by database ORA-00001

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2015 10:31 AM
Hi,
Getting below error "Unique Key violation detected by database ORA-00001" on occasionally while doing mass updates of attributes in 'cmdb_ci' table from list view. Changes are not saving to DB.
I am not able trace from where and why I am getting this error. Please let me know how can I fix this issue.
- Giri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2015 10:56 AM
Hi Giri,
Check for any before insert BR's that have current.update();
Mostly that should be cause.
Thanks
Sriniavs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2015 12:43 PM
Hi Giri , avoid using current.update() onBefore business rules
Thanks ,
Ahmed

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2015 01:38 AM
Hi Srinivas & Ahmed,
Thanks for your reply.
Found a BR written on cmdb_ci table using current.update(), trying to modify the BR script.
- Giri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2016 07:00 AM
Hi,
I've also got the same issue, it is causing not because mass updates.
It is happening because current.update();
Note : it is showing the error as unique key.... But it is inserting the record in table