Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349496 - genmodel does not validate due to lower bound of 1 for AnonymousClass.classInstanceCreation
Summary: genmodel does not validate due to lower bound of 1 for AnonymousClass.classIn...
Status: CLOSED DUPLICATE of bug 319265
Alias: None
Product: MoDisco
Classification: Modeling
Component: Main (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Fabien Giquel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-15 15:40 EDT by Hallvard Traetteberg CLA
Modified: 2013-04-29 07:39 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hallvard Traetteberg CLA 2011-06-15 15:40:58 EDT
I'm trying to refer to Modisco's Java model, hence, my genmodel refers to this model's genmodel. The latter will not validate:
A containment reference of a type with at container feature of AnonymousClassDeclaration.classInstanceCreation that requires instances to be created elsewhere cannot be populated.

Ed Merks says this is due to a lower bound of 1 for a container feature, when there are more than one possible container. Although I can ignore the validation error (when (re)loading it), it is annoying.

Hallvard
Comment 1 Fabien Giquel CLA 2011-06-16 03:26:48 EDT
Hi Hallvard,

i mark this bug as duplicate of 319265 which was resolved in Indigo release. Just to make sure, can you check that you are referencing an older version (0.8.x version) of org.eclipse.gmt.modisco.java plugin ?

*** This bug has been marked as a duplicate of bug 319265 ***
Comment 2 Hallvard Traetteberg CLA 2011-06-16 03:35:04 EDT
(In reply to comment #1)
> Hi Hallvard,
> 
> i mark this bug as duplicate of 319265 which was resolved in Indigo release.
> Just to make sure, can you check that you are referencing an older version
> (0.8.x version) of org.eclipse.gmt.modisco.java plugin ?
> 
> *** This bug has been marked as a duplicate of bug 319265 ***

You are right! I thought I had the latest version, but I have version 0.8.2. I should have checked and reported more properly.
Comment 3 Hugo Bruneliere CLA 2011-08-18 08:35:27 EDT
Duplicate bug solved.