You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Thomas Kratz (JIRA)" <ji...@apache.org> on 2010/03/09 10:15:27 UTC

[jira] Created: (VYSPER-186) Roster contact receives available twice

Roster contact receives available twice
---------------------------------------

                 Key: VYSPER-186
                 URL: https://issues.apache.org/jira/browse/VYSPER-186
             Project: VYSPER
          Issue Type: Bug
          Components: roster and subscription
         Environment: smack client
            Reporter: Thomas Kratz
            Priority: Minor


I connect with a smack client, subscribe each time I connect to a specific contact (that already subscribed to me before) (I go with in memory, no need to persist this). the contact I subscribe to receives the available message twice. I'll attach a snippet of my client code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (VYSPER-186) Roster contact receives available twice

Posted by "Bernd Fondermann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VYSPER-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Fondermann resolved VYSPER-186.
-------------------------------------

    Resolution: Fixed

> Roster contact receives available twice
> ---------------------------------------
>
>                 Key: VYSPER-186
>                 URL: https://issues.apache.org/jira/browse/VYSPER-186
>             Project: VYSPER
>          Issue Type: Bug
>          Components: roster and subscription
>         Environment: smack client
>            Reporter: Thomas Kratz
>            Assignee: Bernd Fondermann
>            Priority: Minor
>         Attachments: LoginManager.java, SubscriptionPacketListener.java
>
>
> I connect with a smack client, subscribe each time I connect to a specific contact (that already subscribed to me before) (I go with in memory, no need to persist this). the contact I subscribe to receives the available message twice. I'll attach a snippet of my client code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (VYSPER-186) Roster contact receives available twice

Posted by "Thomas Kratz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VYSPER-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Kratz updated VYSPER-186:
--------------------------------

    Attachment: SubscriptionPacketListener.java

I guess I also need to prive the SubsctiptionPacketListener thats intended to acknoweldge all subscription requests. I guess I do not need that anymore, but it should result in that behaviour.

> Roster contact receives available twice
> ---------------------------------------
>
>                 Key: VYSPER-186
>                 URL: https://issues.apache.org/jira/browse/VYSPER-186
>             Project: VYSPER
>          Issue Type: Bug
>          Components: roster and subscription
>         Environment: smack client
>            Reporter: Thomas Kratz
>            Priority: Minor
>         Attachments: LoginManager.java, SubscriptionPacketListener.java
>
>
> I connect with a smack client, subscribe each time I connect to a specific contact (that already subscribed to me before) (I go with in memory, no need to persist this). the contact I subscribe to receives the available message twice. I'll attach a snippet of my client code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (VYSPER-186) Roster contact receives available twice

Posted by "Bernd Fondermann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VYSPER-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843456#action_12843456 ] 

Bernd Fondermann commented on VYSPER-186:
-----------------------------------------

the described behavior is reproducible with a simple login of a single client. no special setup required.
the client receives his own availability twice.

> Roster contact receives available twice
> ---------------------------------------
>
>                 Key: VYSPER-186
>                 URL: https://issues.apache.org/jira/browse/VYSPER-186
>             Project: VYSPER
>          Issue Type: Bug
>          Components: roster and subscription
>         Environment: smack client
>            Reporter: Thomas Kratz
>            Priority: Minor
>         Attachments: LoginManager.java, SubscriptionPacketListener.java
>
>
> I connect with a smack client, subscribe each time I connect to a specific contact (that already subscribed to me before) (I go with in memory, no need to persist this). the contact I subscribe to receives the available message twice. I'll attach a snippet of my client code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (VYSPER-186) Roster contact receives available twice

Posted by "Thomas Kratz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VYSPER-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Kratz updated VYSPER-186:
--------------------------------

    Attachment: LoginManager.java

See the try/catch in doLogin, I forgot that I only subscribe if needed.
the mangoxmmp user (smack client, too) receives two avaiable messages.

> Roster contact receives available twice
> ---------------------------------------
>
>                 Key: VYSPER-186
>                 URL: https://issues.apache.org/jira/browse/VYSPER-186
>             Project: VYSPER
>          Issue Type: Bug
>          Components: roster and subscription
>         Environment: smack client
>            Reporter: Thomas Kratz
>            Priority: Minor
>         Attachments: LoginManager.java
>
>
> I connect with a smack client, subscribe each time I connect to a specific contact (that already subscribed to me before) (I go with in memory, no need to persist this). the contact I subscribe to receives the available message twice. I'll attach a snippet of my client code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (VYSPER-186) Roster contact receives available twice

Posted by "Bernd Fondermann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VYSPER-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Fondermann reassigned VYSPER-186:
---------------------------------------

    Assignee: Bernd Fondermann

> Roster contact receives available twice
> ---------------------------------------
>
>                 Key: VYSPER-186
>                 URL: https://issues.apache.org/jira/browse/VYSPER-186
>             Project: VYSPER
>          Issue Type: Bug
>          Components: roster and subscription
>         Environment: smack client
>            Reporter: Thomas Kratz
>            Assignee: Bernd Fondermann
>            Priority: Minor
>         Attachments: LoginManager.java, SubscriptionPacketListener.java
>
>
> I connect with a smack client, subscribe each time I connect to a specific contact (that already subscribed to me before) (I go with in memory, no need to persist this). the contact I subscribe to receives the available message twice. I'll attach a snippet of my client code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.