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 165958

Summary: Templates shouldn't allow recursive copying
Product: platform Reporter: Oleg Khokhlov <ovk>
Component: TemplatesAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

Description Oleg Khokhlov 2009-05-25 15:12:49 UTC
It's possible now recursively copy folders in Templates.
It leads to running endless copy task. And there is no way to cancel that task (except restart).

Product Version: NetBeans IDE 6.7 RC1 (Build 200905232021)
Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\Documents and Settings\tester\.netbeans\6.7rc1
Comment 1 Oleg Khokhlov 2009-05-25 15:13:45 UTC
Created attachment 82741 [details]
screenshot
Comment 2 Jiri Rechtacek 2009-05-25 17:06:24 UTC
Templates dialog allow to do a recursive copy only if a user invokes New Folder a few times. Recursive copying of
standard template categories is forbidden. Users cannot face this problem in a usual workflow.
Comment 3 Martin Entlicher 2010-10-12 15:36:17 UTC
Thus it seems to be fixed. I've verified that the infinite recursive copy can not be achieved. If the user press "New Folder" several times, they get what they want - several new folders.