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 199648

Summary: Save As Template dialog doesn't show display names
Product: platform Reporter: Jiri Skrivanek <jskrivanek>
Component: Data SystemsAssignee: Jaroslav Tulach <jtulach>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 199391    
Bug Blocks:    
Attachments: Stack trace.

Description Jiri Skrivanek 2011-06-23 10:01:57 UTC
Created attachment 109076 [details]
Stack trace.

Probably since bug 199391 was implemented, nodes in the Save As Template dialog don't have correct display name. Also warning exception mentioning bug 199391 is thrown. To reproduce:

- create Java Application project
- right-click JavaApplication1.java class and choose "Save As Template..."
- expand e.g. Java category
- you see Class.java instead of "Java Class" and warning message is printed to the IDE log. If you open the dialog second time, it shows correct display names

Product Version: NetBeans IDE Dev (Build 201106220600)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b16
System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
Comment 1 Jaroslav Tulach 2011-06-27 06:49:16 UTC
ergonomics#1d226c655e88
Comment 2 Quality Engineering 2011-06-28 14:08:00 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/1d226c655e88
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #199648: Listen to changes in the original node and update itself
Comment 3 Jiri Skrivanek 2011-07-01 10:18:19 UTC
Verified in 201107010600.