Bug 152700 - [Properties] No validation on Layout Constraint of notation model
Summary: [Properties] No validation on Layout Constraint of notation model
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: 2.1   Edit
Assignee: Anthony Hunter CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-02 23:48 EDT by Tim Kan CLA
Modified: 2010-07-19 21:58 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 Tim Kan CLA 2006-08-02 23:48:03 EDT
There is no emf validation on the "Layout Constraint" of notation model, negative value may cause the figure invisble.
[reproduce] 
1. Select a shape on diagram.
2. In the "advance" tab of property sheet view, at "view/Layout Constraint/heigth" field, input a negative value, the shape will become invisible..., without any error msg output on status line.
Comment 1 Anthony Hunter CLA 2006-08-17 09:22:30 EDT
I cannot duplicate with either the taipan or ecore generated diagrams in 1.0.1. 
X = -a and/or Y = -b fixes the shape at 0 co-ordinate
Height = -1 and/or width = -1 turns on autosize.
 
Resolving as fixed in 1.0.1.
Comment 2 Tim Kan CLA 2006-11-01 22:11:45 EST
Happen to find that it can be reproduced on ecore generated diagrams in v1.0.1.
Comment 3 Anthony Hunter CLA 2006-11-06 11:06:36 EST
Setting to normal in 2.0.
Comment 4 Anthony Hunter CLA 2007-06-19 11:44:08 EDT
Moving to the next release, GMF 2.1. 
Comment 5 Eclipse Webmaster CLA 2010-07-19 21:58:58 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime was the original product and component for this bug