| Summary: | Trying to delete a connection that is connected to the same part in both ends makes deletion impossible | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Victor Johnsson <victor.johnsson> | ||||
| Component: | GEF MVC | Assignee: | gef-inbox <gef-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | matthias.wienand, victor.johnsson | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 5.0.0 (Oxygen) RC1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 10 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
During deletion, a ConcurrentModificationException was thrown while detaching from anchorages. In order to prevent the CME, I added copying the iterated lists. The code is published on the master branch, therefore, I resolve this ticket as fixed for 5.0.0 RC1. |
Created attachment 266235 [details] How to replicate the bug The attached gif shows the replication steps, a left mouse click is marked with a red circle. The replication steps are: 1. Make a connection have the same part as start and end anchor 2. Delete that part Result: The part is not deleted and nothing else can be deleted either. Tested with the GEF integration release 5.0.0.201612310303.