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 161878 - License-file doesn't get renamed on filesystem
Summary: License-file doesn't get renamed on filesystem
Status: RESOLVED DUPLICATE of bug 163534
Alias: None
Product: platform
Classification: Unclassified
Component: Favorites (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-03 12:24 UTC by wusel
Modified: 2009-04-30 15:22 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 wusel 2009-04-03 12:24:47 UTC
I duplicated the apache-license.txt in the template manager, then changed its content and after closing it renamed it 
in the manager. After that the new class template etc. can't find the file. After some investigation i found that on 
the filesystem teh license-file is still named license-apache20-1.txt

After renaming it to license-picocash.txt the new class template can find it but it will not show up in template 
manager until i press duplicate on license-apache20.txt. the newly created license is then license-picocash.txt it can 
be edited but not renamed, even all other licenses can't be renamed anymore and every time i press duplicate an new 
license-picocash.txt is created. But only in the Template-Manager, on filesystem they are named "license-
apache20_1_1.txt  license-apache20_1.txt"
Comment 1 Jesse Glick 2009-04-03 14:41:34 UTC
Wrong component. Reporter - if unsure what to use, pick 'ide' and your issue will get reassigned for you.
Comment 2 mslama 2009-04-28 14:11:07 UTC
Sorry I do not understand what do you mean by:"After that the new class template etc. can't find the file."
Rename action changes display name of template file and it is saved in .nbattrs file in
$USERDIR/config/Templates/Licenses when I tried to rename duplicated template. There was bug in datasystems that
duplicate did not copy correctly 'template' attribute so that new file was not recognized as template. It should be
fixed now.

Please provide exact steps how to reproduce and give IDE build number.
Comment 3 Jiri Rechtacek 2009-04-30 15:22:21 UTC

*** This issue has been marked as a duplicate of 163534 ***