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 47356 - Paste 2 packages to another project makes incorrect pkg names
Summary: Paste 2 packages to another project makes incorrect pkg names
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2004-08-18 10:11 UTC by Jaromir Uhrik
Modified: 2006-03-24 10:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot attached... (8.28 KB, image/png)
2004-08-18 10:12 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2004-08-18 10:11:57 UTC
[200408172200; jdk1.5.0-rc-b63]
1. Create prj1 and create package structure as in
attached screenshot(a.b.c, a.b.c.d)
2. Add some files into both packages
3. Create prj_new
4. Select in explorer both packages of prj1
5. Invoke paste on prj_new package of project prj_new
6. There is invalid packaging in the prj_new,
there is some duplicity (see attached screenshot)
Comment 1 Jaromir Uhrik 2004-08-18 10:12:30 UTC
Created attachment 16908 [details]
Screenshot attached...
Comment 2 Tomas Zezula 2004-08-18 14:29:37 UTC
Checking in
src/org/netbeans/spi/java/project/support/ui/PackageRootNode.java;
/cvs/java/project/src/org/netbeans/spi/java/project/support/ui/PackageRootNode.java,v
 <--  PackageRootNode.java
new revision: 1.8; previous revision: 1.7
done
Checking in
src/org/netbeans/spi/java/project/support/ui/PackageViewChildren.java;
/cvs/java/project/src/org/netbeans/spi/java/project/support/ui/PackageViewChildren.java,v
 <--  PackageViewChildren.java
new revision: 1.29; previous revision: 1.28
done
Comment 3 Jaromir Uhrik 2004-08-25 16:32:35 UTC
Verified in 200408241800; jdk1.5.0-rc-b63. The paste action is
available only on Source Packages node (not on its childs) - in other
project of course.