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 32836 - Copy/Paste to Group doesn't add copied files (add other)
Summary: Copy/Paste to Group doesn't add copied files (add other)
Status: RESOLVED WONTFIX
Alias: None
Product: utilities
Classification: Unclassified
Component: Group (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@utilities
URL:
Keywords: ARCH
Depends on:
Blocks:
 
Reported: 2003-04-11 17:32 UTC by pfelenda
Modified: 2005-02-21 13:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pfelenda 2003-04-11 17:32:48 UTC
How to reproduce:
I tried reproduce this in dev build with sampledir.

1) Mount other filesystem to Explorer
2) Create group to this new filesystem
3) Genereate javadoc for sampledir
 ( click to examples directory and call from popup
menu
Tools|Generate javadoc )
4) Mount this javadoc as filesystem to explorer

There are three filesystems in Explorer
(.../sampledir) - examples/...
(.../my_new_dir) - my_group
(.../javadoc) - examples/...

5) copy examples dir from javadoc filesystem
  and paste it to the created group

->> Chect the files in group 
There are files from first examples ( source code ),
but there should be javadoc ( html ) files

This depend on order of fielsystems. The first
filesystem is used which contains examples directory.
Comment 1 Tomas Pavek 2003-04-16 16:45:31 UTC
You wrote "...reproduce this in dev build", but version set above is
3.5. So does this really happen in 3.5?
Comment 2 pfelenda 2003-04-16 16:58:37 UTC
Yes, it is in 3.5 and dev builds. I tried both.
Comment 3 Marian Petras 2003-04-24 09:19:26 UTC
I reproduced the bug in NB 3.5 beta 1 (build 030423), running on
Solaris 8 at Sun Sparc.
Comment 4 Marian Petras 2003-04-24 09:44:45 UTC
This is the result of how content of groups is stored. At the OS
level, a group is saved as a plain file containing names of
DataObjects pertaining to the group. When there are multiple
DataObjects with the same name in the repository, there is no way how
to decide which of them (from which filesystem) to choose.

See methods
    GroupShadow.getLinks()
    GroupShadow.getDataObjectByName(String)
    GroupShadow.findFileObject(String)

The fix will be non-trivial.
Comment 5 Marian Petras 2005-02-21 13:48:25 UTC
As module utilities/group has been removed from the standard build in NetBeans
4.0 and its further development is not planned, I mark this bug as WONTFIX.