This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 357434 - Constant for Enumeration artifact is added with incompatible type
Summary: Constant for Enumeration artifact is added with incompatible type
Status: CLOSED FIXED
Alias: None
Product: Tigerstripe (Archived)
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-12 23:11 EDT by Maria Kolchinskaja CLA
Modified: 2011-11-21 05:31 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 Maria Kolchinskaja CLA 2011-09-12 23:11:56 EDT
Build Identifier: 

1. Create Tigestripe project with Enumeration artifact
2. Select artifact in Tigerstripe explorer and open dropdown menu
3. Select "Constant" item to add constant for the Enumeration
Constant is added, but with type "String" (and the Enumeration of type int)

Error is displayed in problems view
The type of label 'literal0' in 'com.mycompany.Enumeration' is incompatible with the defined base type for this Enumeration Artifact ( expected='int', found='String').


Reproducible: Always
Comment 1 Navid Mehregani CLA 2011-09-13 14:12:39 EDT
One minor clarification on point#2: Right click on artifact > New > Constant.
Comment 2 Anton Salnik CLA 2011-11-21 05:02:58 EST
Issue fixed.
Comment 3 Maria Kolchinskaja CLA 2011-11-21 05:31:06 EST
Verified