| Summary: | IndexOutOfBounsException when creating new ContainerShape inside existing one | ||
|---|---|---|---|
| Product: | [Modeling] Graphiti | Reporter: | Elima <elima.sugunan> |
| Component: | Core | Assignee: | Project Inbox <graphiti-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P2 | CC: | michael.wenz |
| Version: | 0.7.0 | Flags: | michael.wenz:
indigo+
michael.wenz: juno+ |
| Target Milestone: | 0.8.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | Juno M2 Theme_bugs Indigo SR2 | ||
|
Description
Elima
Requestor is CPL, relevant for 0.7 track The issue occurs when a shape already has a decorator when children are added. In this case the offset is calculated wrong (takes the decorator also in account). The fix is to calculate the offset before any children are added. Fixed in head with commit 029327db60f55a9409814c7f8cabb26c5e3bd86d Author: mgorning <matthias.gorning@sap.com> 2011-09-21 15:14:04 Committer: mgorning <matthias.gorning@sap.com> 2011-09-21 15:14:04 Parent: 6a34f78d70f6cf335f49a23dbf5fd237d63b646b (.) Branches: origin/master, master Downported the fix to the 0.8 stream (targeting for Indigo SR2): commit 981017ed972c09ac31129e327f643c9303e739d7 Author: mgorning <matthias.gorning@sap.com> 2011-09-21 15:14:04 Committer: mwenz <michael.wenz@sap.com> 2011-09-21 15:18:50 Parent: 60416b671042a808605cd52571127b50f046dd8e (Updates News&Noteworthy) Branches: origin/b0_8_x, b0_8_x Downported the fix to the 0.7.x track (targeting for 0.7.3): commit 20071569801e9b9d49980192cc373685287644e4 Author: mgorning <matthias.gorning@sap.com> 2011-09-21 15:14:04 Committer: mwenz <michael.wenz@sap.com> 2011-09-21 15:49:53 Parent: 4e2eb2da74c71c5dff7fdde15cc328804dd78b39 (Updated versions to 0.7.2) Branches: origin/b0_7_0, b0_7_0 Issue has been fixed through all codelines Fix was checked by CPL Bookkeeping: Set target release: 0.8.1 Part of Graphiti 0.9.0 (Eclipse Juno) |