| Summary: | Bug in oep.modelexplorer.widgets.ModelContentProvider prevents the history selection from working in the reference selection dialog. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Alain Le Guennec <alain.leguennec> | ||||
| Component: | Core | Assignee: | Project Inbox <mdt-papyrus-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | eclipse-bugzilla, yann.tanguy | ||||
| Version: | 0.8.1 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Alain Le Guennec
Created attachment 201584 [details]
Proposed patch to fix the issue.
There is a bug in oep.modelexplorer.widgets.ModelContentProvider which prevents the searchPath function from finding some objects in the tree, which in turn prevents the history selection from working in the reference-selection dialog. The issue is that searchPath only traverse each EReference once, whereas EReference objects should always be traversed because the source EObject might be different (EReference are meta-level instances, not model-level instances). The patch is against revision 5230 on the 0.8.X branch. (1) I, Alain LE GUENNEC, wrote 100% of the code I've provided. (2) This code contains no cryptography (3) I have the right to contribute the code to Eclipse. (4) I contribute the content under the EPL. Camille, can you check this (and apply the patch if its ok) ? All the codes has been refactored since the creation of this bug. I can't found the initial class. I set this bug a closed wontfix |