Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327933

Summary: Unrendering container with invalid selectedElement can cause target element to be unrendered
Product: [Eclipse Project] e4 Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Remy Suen <remy.suen>
Status: RESOLVED FIXED QA Contact: Eric Moffatt <emoffatt>
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: 4.1 M3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
PartRenderingEngine patch v1 none

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.