Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359546 - CDOViewInvalidationEvent no longer fired ones a ReferentialIntegrityException was thrown
Summary: CDOViewInvalidationEvent no longer fired ones a ReferentialIntegrityException...
Status: CLOSED WORKSFORME
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-30 06:39 EDT by Robert Blust CLA
Modified: 2012-09-21 06:51 EDT (History)
2 users (show)

See Also:


Attachments
TestCase reproduce the Error (13.92 KB, application/x-zip-compressed)
2011-09-30 06:41 EDT, Robert Blust CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Blust CLA 2011-09-30 06:39:08 EDT
Build Identifier: 20110615-0604

- The model: ObjectA references ObjectB
- A Transaction tries to delete ObjectB --> CDO Repository throws a ReferentialIntegrityException
- Ones this happens, CDOViewInvalidationEvent no longer fired for new Sessions/View with notification subscription, a Repository restart is required


Reproducible: Always

Steps to Reproduce:
see attached TestCase --> ReferentialIntegrityTest
Comment 1 Robert Blust CLA 2011-09-30 06:41:32 EDT
Created attachment 204369 [details]
TestCase reproduce the Error

Import the project and run the ReferentialIntegrityTest.
Comment 2 Robert Blust CLA 2011-10-02 09:58:34 EDT
Upgraded to CDO 4.0.1 and the bug no longer exits!
Comment 3 Eike Stepper CLA 2011-10-05 04:04:27 EDT
(In reply to comment #2)
> Upgraded to CDO 4.0.1 and the bug no longer exits!

There were indeed a number of bugs fixed in SR1: http://download.eclipse.org/modeling/emf/cdo/drops/R20110913-0010/relnotes.xml

Good that it works now. Closing...
Comment 4 Eike Stepper CLA 2012-09-21 06:51:38 EDT
Closing.