Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362028 - The if-then construct should only initialize the appropriate branch
Summary: The if-then construct should only initialize the appropriate branch
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Komissarchik CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-26 01:50 EDT by Kamesh Sampath CLA
Modified: 2021-11-19 09:21 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kamesh Sampath CLA 2011-10-26 01:50:04 EDT
Build Identifier: M20110909-1335

Enhancement based on the forum post http://www.eclipse.org/forums/index.php/m/750134/#msg_750134
Init and Dispose of Property Editors with If-Then Construct, when the condition changes.

Reproducible: Always

Steps to Reproduce:
1.Define an SDEF, add a Property editor on If-Then construct
2.Select positive condition, the property is shown
3.Select negative condition, error thrown if the property is not as part of the model
Comment 1 Konstantin Komissarchik CLA 2011-10-26 11:34:17 EDT
Fixed. Please verify.
Comment 2 Kamesh Sampath CLA 2011-10-26 12:51:06 EDT
Am pointing to latest 0.4.x hudson, when I happen to see a new update with this fix i will update my Eclipse for the same and will then test and verify. 

Hope I should see a version tomorrow ?
Comment 3 Konstantin Komissarchik CLA 2011-10-26 12:52:18 EDT
Eclipse Hudson build server is currently having issues. There should be a new build as soon as it recovers.
Comment 4 Kamesh Sampath CLA 2011-10-27 09:57:19 EDT
(In reply to comment #3)
> Eclipse Hudson build server is currently having issues. There should be a new
> build as soon as it recovers.

Verified its working for a If-Then branch, 

but when we have a property as child nodes and use Visible when condition class, am getting the same issue, as the framework tries to load the property , do we need to have the same logic here to init-dispose during when the condition changes
Comment 5 Konstantin Komissarchik CLA 2011-10-27 12:13:02 EDT
Closing. Please open a separate bug for problems in handling of visible-when condition on content outline nodes.