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 211754

Summary: Undo Move Of Same Name Package Does Not Undo Correctly
Product: java Reporter: MackSix
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:
Attachments: Project to use for reproduction.

Description MackSix 2012-04-26 04:41:42 UTC
Created attachment 118782 [details]
Project to use for reproduction.

1) Open Attached Project.
2) View Project in "Tree" mode in Project Window.
3) Drag and Drop newpackage.bb.cc into mypackage.aa and both cc folders are merged as mypackage.aa.cc and both files are present.
4) Undo move package.

newpackage.bb.cc appears again with both files in it while mypackage.aa.cc is gone.

Workaround: Must recreate cc package in mypackage.aa and move the file back into it.

Product Version: NetBeans IDE Dev (Build 201204250400)
Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 1 Martin Balin 2015-09-17 11:15:43 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.