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

Bug 347604

Summary: ComposerField: Empty Condition-Field when editing "OR"-expression
Product: z_Archived Reporter: Christoph Thommen <christoph.thommen>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ivan.motsch, zimmermann
Version: unspecifiedFlags: zimmermann: indigo+
zimmermann: juno+
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
ComposerField
none
Condition dialog
none
patch to solve this issue zimmermann: iplog+

Description Christoph Thommen CLA 2011-05-30 03:08:58 EDT
Created attachment 196868 [details]
ComposerField

When editing an or expression on a composer field, the first "condition field" is empty (see printscreen).
Comment 1 Christoph Thommen CLA 2011-05-30 03:09:20 EDT
Created attachment 196869 [details]
Condition dialog
Comment 2 Christian Ulrich CLA 2011-06-08 08:18:01 EDT
Created attachment 197589 [details]
patch to solve this issue

The problem was the EditMenu which checks whether the parent node of the selected AttributeNode is an EntityNode or not. If it's not - and it isn't if the AttributeNode is a child of an EitherOrNode - the EditMenu gets the available attributes from the ComposerField instead of the EntityNode, which leads to no or wrong attributes listed in the edit dialog.
The attached patch fixes this issue.
Comment 3 Ivan Motsch CLA 2011-06-14 10:32:47 EDT
Patch applied, fixes the issue, thanks a lot!
Comment 4 Matthias Zimmermann CLA 2011-10-10 12:33:51 EDT
shipped with scout 3.7.1
Comment 5 Matthias Zimmermann CLA 2011-10-11 11:50:50 EDT
removed iplog flag from ticket and added iplog flag to attachment