Bug 204565

Summary: ObliqueRouter throws IndexOutOfBoundsException when routes connection between 2 intersecting shapes
Product: [Modeling] GMF-Runtime Reporter: Alex Boyko <aboyko>
Component: GeneralAssignee: Alex Boyko <aboyko>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: ahunter.eclipse
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: All   
OS: All   
Whiteboard:

Description Alex Boyko CLA 2007-09-25 11:45:33 EDT
The problem: ObliqueRouter routes connections between 2 intersecting shapes correctly only if union of 2 intersecting shapes has empty spots. If union rectangle of 2 intersecting shapes doesn't have it, i.e. shapes intersect along an equal dimension:

|---------------|
|               |
|      A        |
|               |
|               |
|||||||||||||||||
||||||||||||||||| <-- intersection
|||||||||||||||||
|               |
|      B        |
|               |
|               |
|---------------|

In this case if shapes A and B are connected ObliqueRouter will throw IndexOutOfBoundsException
Comment 1 Alex Boyko CLA 2007-09-25 16:28:32 EDT
Committed for 2.0.1 and 2.1
Comment 2 Eclipse Webmaster CLA 2010-07-19 12:26:55 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug