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

Bug 347576

Summary: Type of the attribute default value can be different from type of the attribute
Product: [Technology] Tigerstripe Reporter: Maria Kolchinskaja <mshulgina>
Component: UIAssignee: Project Inbox <tigerstripe.ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: minor    
Priority: P3 CC: chrhartl
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Maria Kolchinskaja CLA 2011-05-29 07:22:05 EDT
Build Identifier: 

There is no check if the attribute default value is not of the attribute type:  

1. Create Tigerstripe project with Entity artifact
2. Add attribute for the entity
3. Set 'Type' as 'Int' and set default value as 'test'
4. Save changes - no warning message is displayed



Reproducible: Always
Comment 1 Chris Hartley CLA 2011-05-30 19:44:22 EDT
I proposed a solution to this as enhancement

https://bugs.eclipse.org/bugs/show_bug.cgi?id=232727
Comment 2 Maria Kolchinskaja CLA 2011-06-14 01:24:56 EDT

*** This bug has been marked as a duplicate of bug 232727 ***