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

Bug 311351

Summary: broken ref to installed metamodel
Product: [Modeling] MoDisco Reporter: Nicolas Bros <nicolas.bros>
Component: InfrastructureAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P1 CC: gdupe, hugo.bruneliere, modisco.web-inbox
Version: 0.8.0   
Target Milestone: 0.8.0   
Hardware: All   
OS: All   
Whiteboard:

Description Nicolas Bros CLA 2010-05-03 06:27:58 EDT
- Install "org.eclipse.gmt.modisco.usecase.junit.testsuite"
- Import "org.eclipse.gmt.modisco.usecase.junit.testsuite.extension"
You get 2 "Broken ref to: http://www.eclipse.org/gmt/modisco/usecase/junit/testsuite#//Test".
Comment 1 Nicolas Bros CLA 2010-05-03 07:27:28 EDT
Fixed in revision 2184, by trying to resolve a proxy before assuming it is a broken reference.

MoDiscoResourceSet.readEObject assumed a proxy with a null resource was a broken reference. But the resource is null when the model is in the EPackage.Registry.
Comment 2 Hugo Bruneliere CLA 2010-10-01 13:34:45 EDT
Bug fixed.