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

Bug 357434

Summary: Constant for Enumeration artifact is added with incompatible type
Product: [Technology] Tigerstripe Reporter: Maria Kolchinskaja <mshulgina>
Component: UIAssignee: Project Inbox <tigerstripe.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: nmehrega, skanton
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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