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 10301 - ALL: Crucial actions should update all statuses on path from node to the root.
Summary: ALL: Crucial actions should update all statuses on path from node to the root.
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: All Other
: P4 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 40569 43288 (view as bug list)
Depends on:
Blocks: 23095 39817
  Show dependency tree
 
Reported: 2001-03-14 13:06 UTC by dmladek
Modified: 2004-09-17 17:05 UTC (History)
0 users

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 dmladek 2001-03-14 13:06:37 UTC
Description: 
Discovered in: IE Build 1136 on Windows 2000, RedHat Linux 6.2, Solaris 5.8
============== (all with JDK 1.3)

Description:
============
To tell the truth this happens especially with PVCS but solution has to be
generic. For example if you have complicated directory structure in the
repository and completely empty working directory then after "Refresh
Recursively" command everything will be [Missing]. Actions like "Get" or "Add"
performed on file somewhere deep in this structure update only file's status and
don't do anything with folders on path to the root.

Steps to reproduce:
===================
1. Mount some existing PVCS filesystem with completely empty directory.
2. Execute "Refresh Recursively" command. Everything will be [Missing].
3. Select arbitrary file somewhere deep under at least one folder and invoke 
   "Get" menu item.
4. The file will be [Current] (username) but its folder will remain in [Missing]
   status.
Comment 1 Martin Entlicher 2001-04-26 12:54:47 UTC
A support for this needs to be done in vcscore module.
Comment 2 Jan Chalupa 2001-11-27 17:34:26 UTC
Target milestone -> 3.3.1.
Comment 3 Marek Grummich 2002-07-22 11:59:19 UTC
Set target milestone to TBD
Comment 4 Jiri Kovalsky 2003-10-23 22:11:06 UTC
This is not PVCS specific issue.
Comment 5 Martin Entlicher 2003-11-19 18:24:18 UTC
This can be actually seen as a defect.
Comment 6 Martin Entlicher 2003-11-27 10:23:06 UTC
We actually need to consider this in the caching redesign.
This needs to be solved in vcscore module.
Comment 7 Martin Entlicher 2004-02-27 15:21:18 UTC
*** Issue 40569 has been marked as a duplicate of this issue. ***
Comment 8 Martin Entlicher 2004-06-14 19:33:12 UTC
*** Issue 43288 has been marked as a duplicate of this issue. ***
Comment 9 Martin Entlicher 2004-09-17 14:21:39 UTC
This also affects folder with initial [Local] status. If the
annotation is initially not loaded (intentionally or due to some
settings or connection problems), then the status information can get
into an inconsistent state. When selected files are refresh deep in
the files hierarchy, this is not propagated to the appropriate parent
folders.
(See Eric's reproduction of issue #39817 attached to that issue.)

Removing the dependency on issue #32089. We will solve this in the
current codebase.
Comment 10 Martin Entlicher 2004-09-17 17:05:45 UTC
Should be fixed in trunk by explicit refreshing of parent directories
when it's detected that the status of parent directory/directories
does not correspond to the status of file(s) in it:

/cvs/vcscore/src/org/netbeans/modules/vcscore/caching/VcsCache.java,v
 <--  VcsCache.java
new revision: 1.81; previous revision: 1.80

/cvs/vcscore/src/org/netbeans/modules/vcscore/VcsFileSystem.java,v 
<--  VcsFileSystem.java
new revision: 1.292; previous revision: 1.291