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 69392 - "Auto Comment Tool" causes corruption shared code
Summary: "Auto Comment Tool" causes corruption shared code
Status: VERIFIED DUPLICATE of bug 69812
Alias: None
Product: obsolete
Classification: Unclassified
Component: collab (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-27 14:40 UTC by _ alexlamsl
Modified: 2006-01-17 11:06 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 _ alexlamsl 2005-11-27 14:40:58 UTC
I use collab to share a piece of code with another person, where we were 
working on javadocs - I type directly in the editor while the other uses "Auto 
Comment Tool" within NetBeans.

And after he has changed something at exactly the same place when I am typing, 
the result is devastating.
Comment 1 Petr Nejedly 2005-11-28 09:08:51 UTC
Which build please?
I've integrated large region locking fix on 11/16.
Comment 2 Petr Nejedly 2005-11-28 09:14:14 UTC
And the collab/filesharing module with this fix is version 1.0.4, I believe, but
certainly 1.0.5.
Comment 3 _ alexlamsl 2005-11-28 11:40:13 UTC
My machine uses NB5 daily build 200511231900 and collab module 1.0.5; but then 
it is not certain what the other side uses.

If this is causing the problem, I will get the other machine to update its IDE 
and collab module to further test this issue then.
Comment 4 Petr Nejedly 2005-11-28 12:22:33 UTC
Both sides need to use updated filesharing, otherwise the 2-phase locking
algorith can't be used. Please test it with both clients up2date.
Comment 5 _ alexlamsl 2005-11-28 12:27:44 UTC
please wait for ~30 mins while I get the other person to upgrade the (slow!!!) 
machine
Comment 6 _ alexlamsl 2005-11-28 13:31:50 UTC
Confirmed - the problem persists with both sides having NB5 daily build 
200511271900 and the latest Collab module
Comment 7 _ alexlamsl 2005-12-01 17:26:26 UTC
With the same setup, there are similar problems and more. Source codes on both 
sides are often out of sync, which also happens even without using ACT - i.e. 
using editor directly.

The other user in question is most likely behind some kind of network 
filtering services (note: many colleges within University of Cambridge apply 
these policies + bandwidth limitation to their students, or even staffs in 
some!) and the user has been experiencing transfer data losses on an 
occasional basis.
Comment 8 Petr Nejedly 2005-12-08 20:58:25 UTC
It seems to me that using ACT generally inserts the generated comment text at
wrong offset. I'm not sure how does it interact with filesharing...
Comment 9 Petr Nejedly 2006-01-09 12:16:53 UTC

*** This issue has been marked as a duplicate of 69812 ***
Comment 10 Marian Mirilovic 2006-01-17 11:06:24 UTC
verified duplicate