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 - Unable to add a template parameter
Summary: Unable to add a template parameter
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Thuy.d Nguyen
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-04-26 10:39 UTC by Alexandr Scherbatiy
Modified: 2007-04-30 19:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.