Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347604 - ComposerField: Empty Condition-Field when editing "OR"-expression
Summary: ComposerField: Empty Condition-Field when editing "OR"-expression
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-30 03:08 EDT by Christoph Thommen CLA
Modified: 2021-08-19 11:33 EDT (History)
2 users (show)

See Also:
zimmermann: indigo+
zimmermann: juno+


Attachments
ComposerField (9.15 KB, image/png)
2011-05-30 03:08 EDT, Christoph Thommen CLA
no flags Details
Condition dialog (46.84 KB, image/png)
2011-05-30 03:09 EDT, Christoph Thommen CLA
no flags Details
patch to solve this issue (1.04 KB, patch)
2011-06-08 08:18 EDT, Christian Ulrich CLA
zimmermann: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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