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 33132 - CC: After `Convert To WebModule` action some nodes look like local.
Summary: CC: After `Convert To WebModule` action some nodes look like local.
Status: VERIFIED INVALID
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: RELNOTE
Depends on:
Blocks:
 
Reported: 2003-04-22 16:08 UTC by Jiri Kovalsky
Modified: 2005-07-15 12: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 2003-04-22 16:08:13 UTC
Description: 
============
Mount an empty view and try to convert it into web module. Press 'Add to
ClearCase' in the question dialog. Now explore WEB-INF node. 'lib' node will be
'Local' but if you make ClearCase Refresh action it will become 'CHECKEDOUT'.
Well reproducible with build 030406.

======================================================================

Public Summary: 
This bug was solved together with issue
http://www.netbeans.org/issues/show_bug.cgi?id=32928
The problem should be fixed in the trunk.

There's a binary patch for S1S 5.0 builds attached in the above issue. Please
verify with that patch in S1S 5.0 builds before this can be integrated to the
release35 branch.
xxx@xxxx 2003-04-17

Would someone please verify this bug? If it will not be verified it will not be
fixed in S1S 5.0.
xxx@xxxx 2003-04-18

I am sorry, but it still does not work. I have tried the supplied patch and was
able to reproduce it quite easily. I do not recommend to integrate it into
release branch yet. Sun ONE Studio 5.0 build #030417.

xxx@xxxx 2003-04-22]

Evaluation: 
This is likely a problem of refreshing, that takes place after the mkdir
operation. A new refresh task is not started until the last finish.
This can cause that after the last mkdir operation the refresh is not called (in
case the previous refresh did not finish yet).

This is likely a fault of vcscore module, so I'm changing the subcategory.

xxx@xxxx 2003-04-15

This bug basically says that issuezilla bug 31663 (and similar bug 4830260 in
bugtraq) has not been fixed completely, and that the fix for these bugs did not
work. Since 31663 is a showstopper, I am raising the priority of this issue to
P1.A comment.
Comment 1 Martin Entlicher 2003-04-22 16:24:33 UTC
The problem has to be solved in vcscore module. The existing fix
(committed in the main trunk) is identical to the fix of issue #32928. 
Comment 2 Martin Entlicher 2003-04-22 16:26:33 UTC
I'm working on the improvement of the existing fix, which does not
seem to be sufficient.
Comment 3 Martin Entlicher 2003-04-24 15:23:05 UTC
In VCS group we've agreed that this is not P1 priority. The main
reasons are, that it does not corrupt anything. The directories are
added, but only one status is occasionally wrong. Manual refresh does
fix this problem.
Comment 4 Patrick Keegan 2003-04-25 14:01:48 UTC
Proposed relnote:

After calling the Convert to Web Module command and adding the web
module to ClearCase, some of the nodes appear with the status of Local.

Workaround: Right-click the web module node and choose Clear Case |
Refresh.
Comment 5 Jiri Kovalsky 2003-04-25 14:17:42 UTC
Well, the description is correct except the action. It is
"Tools|Convert Filesystem into Web Module".
Comment 6 Martin Entlicher 2003-04-25 14:28:32 UTC
Yes. And ClearCase should be always one word:
ClearCase | Refresh

I would also say:
... some of the nodes may appear with the status of Local.
It does not happen always, so I would say "may appear" so that users
will not be surprised when it happens to work O.K. ;-)
Comment 7 Patrick Keegan 2003-04-25 14:52:00 UTC
Thanks for the corrections. How about?:

"After calling the Convert Filesystem into Web Module command and
adding the web
module to ClearCase, some of the nodes may appear with the status of
Local.

Workaround: Right-click the web module node and choose ClearCase |
Refresh."






Comment 8 Jiri Kovalsky 2003-04-25 15:05:16 UTC
Yes, that's perfect.
Comment 9 dmladek 2003-05-29 08:19:56 UTC
Martin,

I have similar problem with CVS-profile:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sometimes it happens to me,  that after checkout
some files & dirs are marked [local].
I have set my FS's property:
 "Auto Refresh"="For Newly Opened Folders"

But IMHO, when you just checkout new file, it shouldn't be [local].
If it is due the FS's property, at least it is nonsence to marked
unrefreshed files [local] because you' already know that they are
under version control and thus eg. status [Uknown/up-to-date;no
rev.no] would be better.

I wouldn't interupt you with this if it seemed to me that it is anly
because of unfinished refresh.
I must point to the fact, that [local] status remains on those files
till I didn't invoke on them extra Refresh/Ref.Recursively....

Should I file a new bug for that? It's unreproductable, but it's
happening :-(
Comment 10 Martin Entlicher 2004-01-27 12:37:42 UTC
This is a problem, that is visible only with ClearCase and `Convert To
WebModule` action.

Therefore I'm moving this to vcsgeneric and scheduling for promo-D.
Comment 11 Martin Entlicher 2004-10-29 17:11:05 UTC
There is no "Convert to Web Module" action any more, it was replaced
by the projects system. Therefore this issue is not applicable any
more in NetBeans 4.x.

Therefore the issue became invalid.
Comment 12 Jiri Kovalsky 2005-07-15 12:57:33 UTC
Agreed. Verified in NetBeans 4.1 FCS build.