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 223136

Summary: File template manager: Duplicated templates from existing templates still use the original description
Product: platform Reporter: markiewb
Component: TemplatesAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Shows the original description of a duplicated template

Description markiewb 2012-12-02 14:28:21 UTC
[ BUILD # : 201211290002 ]
[ JDK VERSION : 1.7.0_09 ]

File template manager: Duplicated templates from existing templates still 
use the original description 

* Duplicate "JApplet" template from category "Java" -> "JApplet 1" node will 
be created
* Close the dialog
* Open "File New ..."-dialog and browse to "JApplet 1" 

ACTUAL: the description of the original is displayed. See screenshot 
(Currently there is no way to modify the description within the template 
manager dialog?)
EXPECTED: ??? no description?

FYI: there were some related discussions in https://www.netbeans.org/
bugzilla/show_bug.cgi?id=76759 

----
Product Version: NetBeans IDE Dev (Build 201211290002 )
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b17
System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)
Comment 1 markiewb 2012-12-02 14:35:36 UTC
Created attachment 128717 [details]
Shows the original description of a duplicated template
Comment 2 Martin Entlicher 2012-12-06 13:40:59 UTC
The description is defined by "instantiatingWizardURL" file attribute. The attributes are copied during the template duplication, this is why the description is the same.
We should probably allow to edit/add the description.
Comment 3 Martin Entlicher 2012-12-10 10:36:04 UTC
The description is currently not editable, thus this is a feature in fact.