| Summary: | EMF Compare doesn't allow editing model when opened in EGit Merge Tool | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMFCompare | Reporter: | Nikolay Kasyanov <corrmage> | ||||
| Component: | UI | Assignee: | EMF Compare <emf.compare-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | laurent.goubet, mikael.barbero | ||||
| Version: | 1.3 | ||||||
| Target Milestone: | Kepler M5 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Nikolay Kasyanov
Created attachment 225812 [details]
Repository to easily reproduce
This bug is due to EGit using its own CompareEditorInput, and EMF Compare not being able to infer all necessary information from there.
It will not be fixed for 1.3. For 2.1, This bug is even worse as an NPE is thrown right at the opening of the merge tool.
Attached is a zipped git repository which only includes a single project "sandbox" and two branches : master and conflictual. Simply import "sandbox" into a workspace, checkout "conflictual" and try to rebase on "master". This will trigger the detection of a conflict on "sandbox/My.ecore". Trying to open the merge tool (right-click on conflictual file > Team > Merge Tool) on that ecore will trigger an NPE from EMF Compare.
fixed in 1294c59f24d8450799661d58918fc82bc724fd11 |