This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 377714 - In Properties View combo boxes are always empty
Summary: In Properties View combo boxes are always empty
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.0.0 M9   Edit
Assignee: Florian Thienel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-25 18:33 EDT by Holger Voormann CLA
Modified: 2012-04-27 15:14 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Voormann CLA 2012-04-25 18:33:23 EDT
Attribute values that must contain one value of a specified list (in DTD specified as enumerated list) are shown as combo box in the Properties View. Unfortunately, these combo box lists to choose from are always empty.

Version: 1.0.0M8

(Reported by Andreas Bartho: http://www.eclipse.org/forums/index.php?t=rview&goto=845161#msg_845161)
Comment 1 Florian Thienel CLA 2012-04-27 15:14:51 EDT
We compared apples with pears in WTPVEXValidator.createAttributeDefinition: attribute.getAttrType().equals(CMDataType.ENUM) should be compared instead as attribute.getAttrType().getDataTypeName().equals(CMDataType.ENUM).