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 8525 - Deleting folder should remove entry from cache as well as from "Entries" file.
Summary: Deleting folder should remove entry from cache as well as from "Entries" file.
Status: VERIFIED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscvs (show other bugs)
Version: 3.x
Hardware: Other Other
: P4 normal (vote)
Assignee: issues@obsolete
URL:
Keywords:
: 9663 (view as bug list)
Depends on: 10141
Blocks:
  Show dependency tree
 
Reported: 2000-11-22 16:09 UTC by Jiri Kovalsky
Modified: 2002-01-23 09:57 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 Jiri Kovalsky 2000-11-22 16:09:37 UTC
Build #1159a on Windows 2000/NT, Solaris 5.8, Red Hat Linux 6.2 (all JDK 1.3)

Description:
============
If user deletes arbitrary folder that has already been added into the
repository there should be deleted as well appropriate entry from cache
and "Entries" file. Now if folder is deleted it disappears from the explorer
for delay of 15 seconds and then is shown again although in fact it doesn't
exist but user can create another folder with the same name next to "cached"
one. This may be a little bit confusing.

Steps to reproduce:
===================
1. Mount already existing CVS filesystem with at least one [Up-to-date] file but
   not directly under the CVS FS's root node.
2. Delete parent directory of this file and you will see that deleted folder
   disappears for 15 seconds and then is shown again.
3. Now create "New Package" with the same name as deleted folder has. There will
   be two exactly the same folders in the explorer next to each other.
Comment 1 Jiri Kovalsky 2000-12-08 15:07:59 UTC
BUG also appears in version : FFJ20
Comment 2 Martin Entlicher 2001-01-10 12:50:59 UTC
Hmm, probably the best solution would be to attach a special command with the
delete action, that could provide some further cleanup i.e. "cvs release".
Comment 3 Martin Entlicher 2001-02-08 16:26:59 UTC
The deleted folder is not shown any more in the Explorer.
However the item in Entries still exist, this will be fixed in the future.
Comment 4 dmladek 2001-02-10 11:55:59 UTC
Martin, could you please specify more exactly in so far future it will be fixed?
Will it be ready to the NB 3.2 release or 3.3?
Comment 5 Martin Entlicher 2001-02-12 15:02:59 UTC
I would like to fix it for 3.2 release.
Comment 6 Martin Entlicher 2001-02-23 12:54:15 UTC
Copied the solution proposal from bug #9663:
I think, that there are two ways, how to solve this bug:
1) remove the whole folder and remove its entry in parent's CVS/Entries
2) remove only the folder content, but keep all CVS/* intact. This will result
in the folder's files being shown in the Explorer with [Needs Checkout] status.

IMHO the solution might be: ask the user which way of folder delete s/he want to
do and then perform either 1) or 2).
Is this solution acceptable ? Any comments ?
Comment 7 Martin Entlicher 2001-02-23 12:54:21 UTC
*** Issue 9663 has been marked as a duplicate of this issue. ***
Comment 8 Martin Entlicher 2001-04-11 20:08:09 UTC
There has to be a way how to show a dialog for all deleted files at once. The
appropriate support needs to be done in openide.
Comment 9 Martin Entlicher 2002-01-22 09:16:40 UTC
Resolved as wontfix. This bug is fixed in vcsgeneric module, which is
used instead of vcscvs in NetBeans and Forte4Java builds. vcscvs
module is not a part of builds any more.
Comment 10 dmladek 2002-01-23 09:57:35 UTC
OK