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 - Undo Move Of Same Name Package Does Not Undo Correctly
Summary: Undo Move Of Same Name Package Does Not Undo Correctly
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.2
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-26 04:41 UTC by MackSix
Modified: 2015-09-17 11:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project to use for reproduction. (83.64 KB, application/zip)
2012-04-26 04:41 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
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.