Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359415 - [EMF Runtime Extensions] DefaultEcoreTraversalHelper unable to find reachable objects that are instances of a different metamodel
Summary: [EMF Runtime Extensions] DefaultEcoreTraversalHelper unable to find reachable...
Status: CLOSED FIXED
Alias: None
Product: Sphinx
Classification: Automotive
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 0.7.0   Edit
Assignee: Stephan Eberle CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 08:49 EDT by Stephan Eberle CLA
Modified: 2021-07-14 02:14 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 Stephan Eberle CLA 2011-09-29 08:49:48 EDT
= Problem description =
* Select a model element in Sphinx Model Explorer
* Make sure that it has a reference feature with a target type that belongs to a different metamodel than that of the selected model element 
* Make sure that there files with instances of the target type of the reference feature in the same project of scope
* Go to properties view
* Click on the reference feature in question

= Expected result =
The instances of the target type of the reference feature in the same project of scope are proposed as reachable objects

= Actual result = 
No reachable objects are proposed.
Fixed problem in DefaultEcoreTraversalHelper#getReachableEObjects() causing that only objects of same meta
Comment 1 Stephan Eberle CLA 2011-09-29 08:51:27 EDT
Fixed by making sure that org.eclipse.sphinx.emf.ecore.DefaultEcoreTraversalHelper#getReachableEObjects(EObject, EReference) takes not only all resources belonging to same model but all resources belonging to same scope into account.
Comment 2 Balazs Grill CLA 2021-07-14 02:14:53 EDT
Mass-closing Resolved tickets