Failure to store roster notes not reported
Please first check if another issue has been opened for your problem
Versions
-
OS: Debian 11
-
Gajim version: 1.4.0-dev1+adbd80e1
-
GTK version: 3.24.24
-
Python-nbxmpp version: 3.0.0-dev1
-
Prosody: trunk (soon to 0.12) with mod_bookmarks enabled but mod_private disabled (Snikket is also configured like this)
Steps to reproduce the problem
- Use a server which a) provides XEP-0402: PEP Native Bookmarks with XEP-0049 compatibility but not full XEP-0049 support
- Go to contact list → details → notes
- Write something
- Close the dialog
Expected behavior
There should be some indication in case the server returns an error, e.g. like this:
<iq xmlns="jabber:client" type="set" id="1f8019f8-6523-47e2-bc9d-13b8a7874c4b">
<query xmlns="jabber:iq:private">
<storage xmlns="storage:rosternotes">
<note jid="user@example.net">Lorem ipsum dolor sit amet.</note>
</storage>
</query>
</iq>
<iq xmlns="jabber:client" type="error" id="1f8019f8-6523-47e2-bc9d-13b8a7874c4b">
<error type="cancel">
<service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
</error>
</iq>
While this could happen for other reasons such as a temporary storage error on the server, if the server only "supports" XEP-0049 for bookmarks then this will be the likely outcome, and this configuration might be more common in the future.
Actual behavior
Nothing happens, tho the text is still in the dialog when opening it again. However, after a restart of Gajim, the text is gone.