Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359546

Summary: CDOViewInvalidationEvent no longer fired ones a ReferentialIntegrityException was thrown
Product: [Modeling] EMF Reporter: Robert Blust <robert.blust>
Component: cdo.coreAssignee: Project Inbox <emf.cdo-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: robert.blust, stepper
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
TestCase reproduce the Error none

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.