| Summary: | [DB] StackOverflowException in TypeMapping | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Egidijus Vaisnora <vaisegid> | ||||||||||||
| Component: | cdo.db | Assignee: | Stefan Winkler <stefan> | ||||||||||||
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> | ||||||||||||
| Severity: | normal | ||||||||||||||
| Priority: | P3 | CC: | stepper | ||||||||||||
| Version: | 4.0 | Flags: | stepper:
review+
|
||||||||||||
| Target Milestone: | --- | ||||||||||||||
| Hardware: | Macintosh | ||||||||||||||
| OS: | Mac OS X | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Bug Depends on: | 308895 | ||||||||||||||
| Bug Blocks: | |||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Egidijus Vaisnora
Created attachment 180019 [details]
Patching 308895 test case to illustrate issue
Please set the version where you want this be analyzed/fixed... Created attachment 180021 [details]
patch v2
Contains patch to test case + bug fix
Ready for review Without a version this appears in no review queue here. Sorry, with Stefan's refactoring of the type mappings (committed just the other second) your patch does not match anymore ;-( Created attachment 180041 [details]
patch v3
Again ready :) Created attachment 180052 [details]
Patch-v4
Alternative solution.
- I copied the TestCase and removed all unneeded stuff (enhancing a Bugzilla-TestCase with a different number might create too much confusion ...)
- Actually, the bug was a problem in the framework. I should have marked setDefaultValue() in AbstractTypeMapping as final. Implementation of getDefaultValue() was a one-liner
TestCase passes now. Please check, if this solves your problem as well.
Created attachment 180058 [details]
patch-v5
- Resync with HEAD (conflict with AllConfigs in cdo.test project)
- Patch-v4 broke 308895 again. This patch now passes all tests.
Please review.
Committed to HEAD Available in R20110608-1407 |