| Summary: | [Model Browser] Null Pointer after deleting a field in a model | ||
|---|---|---|---|
| Product: | [Modeling] MoDisco | Reporter: | Nicolas Guyomar <nicolas.guyomar> |
| Component: | Technologies | Assignee: | Nicolas Bros <nicolas.bros> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | fabien.giquel, gdupe, hugo.bruneliere, modisco.web-inbox, nicolas.bros |
| Version: | 0.9.0 | Flags: | nicolas.bros:
indigo+
|
| Target Milestone: | 0.9.0 M1 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Nicolas Guyomar
I cannot reproduce the error. Could you please attach a model on which it happens, and tell me exactly which steps lead to the error? A stacktrace could be helpful too. Scratch that! I misunderstood you, I thought you meant the error happened when you deleted a FieldDeclaration. But it in fact happens when you delete an attribute. What happened is that when you deleted an attribute in the model browser, it in fact deleted the EAttribute from the metamodel (in the EPackage.Registry). This of course causes problems (both this bug and bug 319016). I fixed it in revision 2667 by making sure elements from the EPackage.Registry cannot be deleted. Bug fixed. |