Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327933 - Unrendering container with invalid selectedElement can cause target element to be unrendered
Summary: Unrendering container with invalid selectedElement can cause target element t...
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.1 M3   Edit
Assignee: Remy Suen CLA
QA Contact: Eric Moffatt CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-15 13:57 EDT by Remy Suen CLA
Modified: 2010-10-22 15:03 EDT (History)
0 users

See Also:


Attachments
PartRenderingEngine patch v1 (3.21 KB, patch)
2010-10-15 13:58 EDT, Remy Suen CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2010-10-15 13:57:27 EDT
Caused by the fix for bug 326699. Fix is to check that the selected element is actually one of the container's children before unrendering.
Comment 1 Remy Suen CLA 2010-10-15 13:58:03 EDT
Created attachment 180996 [details]
PartRenderingEngine patch v1
Comment 2 Remy Suen CLA 2010-10-15 13:58:57 EDT
(In reply to comment #1)
> Created an attachment (id=180996) [details]
> PartRenderingEngine patch v1

Patch released to CVS HEAD.
Comment 3 Remy Suen CLA 2010-10-22 15:03:53 EDT
Due to the 'selectedElement' not being changed during DND operations per bug 328078, this bug will manifest itself when you try to drag the last part of a stack into another stack. The original stack will still be pointing at the part in question and will get unrendered if the fix is not there.