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 64460 - Contact on user is autmatically added to Default contacts group
Summary: Contact on user is autmatically added to Default contacts group
Status: CLOSED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: collab (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: issues@obsolete
URL:
Keywords:
: 64509 67769 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-15 15:56 UTC by Marian Mirilovic
Modified: 2010-04-21 12:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
edited session log (1.02 KB, text/plain)
2005-10-25 14:23 UTC, Petr Nejedly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2005-09-15 15:56:41 UTC
NB 5.0 (200509141800), JDK 6.0 (b51)
Collaboration modules downloaded from the Development Update center

Steps to reproduce:
- U1 has a contact on U2 in "XX team" contact group
- U2 has a contact on U1
- U1 closes the Collaboration session and login again
- U2 is now shown as a contact in Default and "XX team" contact groups
Comment 1 Petr Nejedly 2005-10-25 09:38:16 UTC
*** Issue 64509 has been marked as a duplicate of this issue. ***
Comment 2 Petr Nejedly 2005-10-25 10:02:43 UTC
The problem is with users that have uppercase leter in their JID -- login name.
(JIDs are case-insensitive, but the server preserves the case)
For such users, search returns the uppercase variant of the JID, but the IDE
registers for lowercase. During the next session, it gets bot entries for some
reason.
Comment 3 Petr Nejedly 2005-10-25 14:22:35 UTC
Seems to be a problem of the library. I'll attach a communication snippet.
I had one contact in my roster, added the second (cezarius@), shut down the IDE
and restarted. The snippet is from the restart.
Initial fetch of the roster still shows three entries, two legitimate and the
third one for Cezarius@ (note the capital initial C).
In the communication below, you could see that the user actually has capital C
in his profile entry.
Comment 4 Petr Nejedly 2005-10-25 14:23:40 UTC
Created attachment 26316 [details]
edited session log
Comment 5 Petr Nejedly 2005-10-31 16:34:42 UTC
*** Issue 67769 has been marked as a duplicate of this issue. ***
Comment 6 Petr Nejedly 2006-01-09 14:27:16 UTC
It looks like the server issue, indeed.
Everything important on the wire is lowercase (the search returns uppercase, but
the library sends subscription request correctly as lowercase).
Everything is OK even on the side of the user with capital JID, it just sends
subscribe request (without prefilled from field) upon user action, but back on
the victims's side, it is received with uppercase from field and uppercase JID
field inside:
<iq from='Nenik-big@share.java.net' to='nenik-test3@share.java.net/ide'
    type='set'>
  <query xmlns='jabber:iq:roster'>
    <item ask='subscribe' jid='Nenik-big@share.java.net' subscription='none'/>
  </query>
</iq>
Comment 7 _ jbelis 2006-06-07 01:47:21 UTC
current release normalizes JIDs.  so the problem is fixed as soon as you move to
the current API version.
Comment 8 Antonin Nebuzelsky 2009-06-02 14:38:54 UTC
Reassigning to issues@collab. Collab Support plugin is not actively maintained.

Obsoleted in 6.7 by the newly introduced integration with Project Kenai, a
collaborative environment for developers to host their open-source projects,
which includes also a chat service.
Comment 9 Quality Engineering 2009-12-21 07:34:53 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team
Comment 10 Marian Mirilovic 2010-04-21 12:17:32 UTC
v/c