Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311351 - broken ref to installed metamodel
Summary: broken ref to installed metamodel
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P1 blocker (vote)
Target Milestone: 0.8.0   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-03 06:27 EDT by Nicolas Bros CLA
Modified: 2010-10-01 13:34 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.