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.
Summary: | [layer] problem with copy-pasting files | ||
---|---|---|---|
Product: | apisupport | Reporter: | Martin Krauskopf <mkrauskopf> |
Component: | Project | Assignee: | Jesse Glick <jglick> |
Status: | VERIFIED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 72507 | ||
Bug Blocks: | |||
Attachments: | Working patch; unit test is OK but live behavior not due to MFS wrapping |
Description
Martin Krauskopf
2006-01-04 07:40:44 UTC
Yeah, file operations on instances don't really work: it is trying to actually copy the byte[] contents and Map<String,Object> attributes, which cannot work reliably. May be able to implement AbstractFileSystem.Transfer to handle this scenario properly. More over one would probably tends to delete the file created on a disk. Which is OK on the first sight - no error reported so far. But after deploying a module there will be a broken reference. So e.g. menu item will not work. Don't think it's fixable. No apparent way to override copy/move behavior because of weirdness in MultiFileSystem. Created attachment 28821 [details]
Working patch; unit test is OK but live behavior not due to MFS wrapping
x *** This issue has been marked as a duplicate of 72541 *** can be. verified duplicate |