This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 102600

Summary: Unable to add a template parameter
Product: uml Reporter: Alexandr Scherbatiy <sunflower>
Component: General DiagramAssignee: Thuy.d Nguyen <thuydn>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Alexandr Scherbatiy 2007-04-26 10:39:58 UTC
Steps to reproduce:

- Create a Class element and name it
- Go to the Properties
- Press Template Parameters
  Template Parameters dialog appears
- Press Add
- Type the parameter name 
- Press Enter
  The parameter name disappears from the name field
  I can't find a way to add a template parameter to an element
Comment 1 Alexandr Scherbatiy 2007-04-26 10:42:07 UTC
The issue is reproduced only in NBI builds.
For example: netbeans-6.0-nightly-200704200000-full-windows.exe
Comment 2 Alexandr Scherbatiy 2007-04-27 14:32:18 UTC
There is no way to create a Template class with template parameters.
Comment 3 Thuy.d Nguyen 2007-04-28 02:41:15 UTC
This is a side affect of  the fix for issue 101255.
In the method setValueAt(...) of PropertyElementCustomizer,  the condition of
"if  (col == 2)"  makes a value set only for the 2nd column.  For other columns,
the value is not set. 
Modified the code to set value for other columns as well. 
Comment 4 Thuy.d Nguyen 2007-04-28 06:51:45 UTC
Integrated to both trunk and release60-m9 branch.
Comment 5 Peter Lam 2007-04-30 19:42:39 UTC
verified in build 20070430.