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 1595

Summary: handleCopy method should delete aleady copied FileObjects if copy of any of them fails with IOException to prevent different DataObject type to be created.
Product: platform Reporter: iformanek <iformanek>
Component: -- Other --Assignee: akemr <akemr>
Status: CLOSED INVALID    
Severity: minor    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description iformanek 1999-04-27 18:05:16 UTC
Example can be FormDataObject, which consists of .java and .form files.
If the .java is copied and IOException is thrown when copying .form, a JavaDataObject is created in the target directory.
Comment 1 Jan Zajicek 2001-01-23 09:25:59 UTC
Automated change of version from Other to Dev.
Comment 2 akemr 2001-01-23 16:55:59 UTC
I'm not sure about this solution, IMO good behaviour is only to fire exception
without deleting anything.

BTW I don't know how to reproduce described situation?
Comment 3 akemr 2001-02-07 08:17:59 UTC
Because I'm not sure, if its actually bug, I'm closing it for now.
If there will be new facts, it can be reopened.
Comment 4 Quality Engineering 2003-07-01 16:01:22 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 5 Quality Engineering 2003-07-01 16:24:56 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.