Display error text in the chat directly (#644)
Wojciech Kapcia (Tigase) opened 5 days ago

When the server returns error Beagle currently only displays information that there was an error

Captura de pantalla 2025-04-24 a las 13.52.44.png

It's a result of error stanza:

<message to='<me>@tigase.org/…' type='error' xmlns='jabber:client' from='…'>
<composing xmlns='http://jabber.org/protocol/chatstates'/>
<error type='cancel'>
<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<text xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>User session not found</text></error></message>

It would be great if the chat window displayed type of the error (service unavailable) and associated text.

Referenced from commit 4 days ago
Andrzej Wójcik (Tigase) changed state to 'In QA' 4 days ago
Previous Value Current Value
Open
In QA
Andrzej Wójcik (Tigase) commented 4 days ago

I've applied changes to the error handling to ignore errors about undelivered "chatstates" (messages with just chat state changes) and improved presentation of received errors to present message from the server (if any) and error type/condition.

Andrzej Wójcik (Tigase) referenced from other issue 4 days ago
Andrzej Wójcik (Tigase) added "Related" tigase/_clients/siskin-im#600 4 days ago
Andrzej Wójcik (Tigase) changed fields 4 days ago
Name Previous Value Current Value
Assignee
andrzej.wojcik
wojtek
Wojciech Kapcia (Tigase) changed state to 'Closed' 4 days ago
Previous Value Current Value
In QA
Closed
Wojciech Kapcia (Tigase) commented 4 days ago

Can't reproduce it now but assuming fixed.

issue 1 of 1
Type
Usuability
Priority
Minor
Assignee
Version
none
Sprints
n/a
Customer
n/a
Issue Votes (0)
Watchers (3)
Reference
tigase/_clients/beagle-im#644
Please wait...
Page is in error, reload to recover