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 9717 - IOException is thrown when Delete action is performed on files[Needs Checkout]
Summary: IOException is thrown when Delete action is performed on files[Needs Checkout]
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-20 16:13 UTC by dmladek
Modified: 2003-07-01 12:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IOException (13.35 KB, text/plain)
2001-07-20 20:39 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmladek 2001-02-20 16:13:12 UTC
[Build-010219_1IE]
jdk1.3
rh70
==================


Steps to reproduce:
--------------------
0) mount a CVS FS
1) create a package
2) underneath create a few files
3) add & commit all to repository
4) delete some files
5) perform refresh...deleted files will apper in Explorer again with status 
   [Needs checkout]
6) try to delete a package
---------------------------
7) the java.io.IOException: Cannot delete VCS file.... is thrown
	see attachment
Comment 1 dmladek 2001-02-20 16:14:29 UTC
Created attachment 647 [details]
IOException
Comment 2 Martin Entlicher 2001-02-20 16:23:45 UTC
The product changed to vcscore.
Delete of missing files should be probably ignored, since in VCS modules there
can be "virtual" files, that are not present on disk.
Comment 3 dmladek 2001-02-20 16:40:19 UTC
I'd like to mention another side (d)effect of this.

If you have large dir structure and all files are read only (Edit command)
and in properties of filesystem you have set property:
Command notification to true. Then if you perform delete action
you will be gagged by lots of messages (equivalent to number of your files
probably) like this "File 'blabla.java' has failed prepare for edit. See the
output window for hints. Do not ....."

and in this huge number of messages you'll receive a localized E.
about that file is read only and can't be deleted.

I had to click on each message but I've lost in them (I mean lost thread focus)
and hed to kill the ide:-(
Comment 4 Martin Entlicher 2001-02-20 16:46:13 UTC
Reassigned.

Comment 5 Jan Chalupa 2001-03-14 10:24:11 UTC
Version: 'Dev' -> 3.2
Comment 6 Martin Entlicher 2001-04-11 15:12:25 UTC
Fixed in dev and release32 build #28.
Edit messages are shown only on a modification attempt.
Comment 7 Jan Chalupa 2001-05-06 15:30:19 UTC
Target milestone -> 3.2
Comment 8 dmladek 2001-06-11 17:30:05 UTC
verifid on [NBdev-207]
Comment 9 Quality Engineering 2003-07-01 12:56:18 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.