error presence packets when server is down

Description

http://www.igniterealtime.org/community/message/182768

In smack 3.0.4, error presence packets like this are not handled:

<presence to="mobi@ubithere.com/CellPhone" from="vbarat@lancelot" type="error"><error code="404" type="CANCEL"><remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></presence>

This happens when a server is down.

But the Roster doesn't process these packets so we have the wrong Presence when asking the Roster about the user.

Here is my attached patch:

Environment

None

Attachments

1

Activity

Show:

MattM 
November 18, 2008 at 2:14 AM

Cool, I will check this out and get it into place.

Tip for filing bugs in the future: the "fix for" date is much more important than the "affects" version since that's what we use when looking at filters of what still needs to get done in order to get a release out the door. The affects value in this case could have been 3.0.x since the bug exists there. In general, the "affects" value only seems to be especially useful for regressions.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created November 14, 2008 at 6:09 AM
Updated November 21, 2008 at 1:24 PM
Resolved November 21, 2008 at 1:24 PM