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.
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"
Wrong component. Reporter - if unsure what to use, pick 'ide' and your issue will get reassigned for you.
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.
*** This issue has been marked as a duplicate of 163534 ***