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

Bug 322185

Summary: Set a unsetable CDO-CustomType Attribute to null throws a ClassCastException at commit
Product: [Modeling] EMF Reporter: Heiko Ahlig <nacor>
Component: cdo.coreAssignee: Eike Stepper <stepper>
Status: CLOSED WONTFIX QA Contact: Eike Stepper <stepper>
Severity: normal    
Priority: P3 CC: stepper
Version: 4.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 322218, 378283    
Attachments:
Description Flags
modified model
none
modifyed JUnit tests none

Description Heiko Ahlig CLA 2010-08-09 16:28:28 EDT
Build Identifier: I20100608-0911

At the moment i use custom type properties.
when I set the vale to null an than comit this object, the transaction throws a exception.

As example I modify the test-model3 an add a testcase to the juinit tests.

Reproducible: Always
Comment 1 Heiko Ahlig CLA 2010-08-09 16:29:12 EDT
Created attachment 176187 [details]
modified model
Comment 2 Heiko Ahlig CLA 2010-08-09 16:30:14 EDT
Created attachment 176188 [details]
modifyed JUnit tests
Comment 3 Eike Stepper CLA 2010-08-17 02:44:39 EDT
I'll look into this on Friday...
Comment 4 Eike Stepper CLA 2011-06-23 04:26:55 EDT
Moving all open problem reports to 4.0
Comment 5 Eike Stepper CLA 2012-06-05 07:28:08 EDT
Moving all open bug reports to 4.1 because the release is very near and it's hghly unlikely that there will be spare time to address 4.0 problems.

Please make sure that your patches can be applied against the master branch and that your problem is not already fixed there!!!
Comment 6 Eike Stepper CLA 2012-08-14 22:56:49 EDT
Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master.
Comment 7 Eike Stepper CLA 2012-10-31 07:30:34 EDT
Nothing in these patches applies to master anymore. Please reopen this bug if you feel a need.