File

spec/scansion/disco_self.scs @ 13546:1a915c2e0fa4 0.12

mod_bookmarks: Suppress error publishing empty legacy bookmarks w/ no PEP node It appears that when: 1) The user has no bookmarks 2 node in PEP 2) The client publishes an empty bookmark set to a legacy bookmarks location 3) mod_bookmarks will attempt to purge items from the non-existent node and log an error about the failure (item-not-found). This new code will suppress an item-not-found error from the purge operation in the empty-bookmarks case, and adds a log message for any other error (this is helpful because the existing log message confusingly says it was an error *publishing* to the node, which isn't always accurate).
author Matthew Wild <mwild1@gmail.com>
date Fri, 08 Nov 2024 10:24:42 +0000
parent 13408:d7857ef7843a
line wrap: on
line source

# Basic login and initial presence

[Client] Romeo
	jid: discoverer@localhost
	password: password

---------

Romeo connects

Romeo sends:
	<iq type="get" id="info1">
		<query xmlns="http://jabber.org/protocol/disco#info"/>
	</iq>

Romeo receives:
	<iq type="result" id="info1">
		<query xmlns="http://jabber.org/protocol/disco#info" scansion:strict="false">
			<identity xmlns="http://jabber.org/protocol/disco#info" category="account" type="registered"/>
			<feature var="http://jabber.org/protocol/disco#info"/>
			<feature var="http://jabber.org/protocol/disco#items"/>
		</query>
	</iq>

Romeo disconnects