#1305 pubsub: MUST allow multiple items to be specified
Reporter
Zash
Owner
Zash
Created
Updated
Stars
★ (1)
Tags
Status-Fixed
Priority-Medium
Milestone-0.11
Compliance
Type-Defect
Zash
on
Please provide a snippet of the part of the specification which we violate
if possible:
What steps will reproduce the problem?
<iq type='get'
from='francisco@denmark.lit/barracks'
to='pubsub.shakespeare.lit'
id='items3'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<items node='princely_musings'>
<item id='368866411b877c30064a5f62b917cffe'/>
<item id='4e30f35051b7b8b42abe083742187228'/>
</items>
</pubsub>
</iq>
What is the expected output?
<iq type='result'
from='pubsub.shakespeare.lit'
id='items3'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<items node='princely_musings'>
<item id='368866411b877c30064a5f62b917cffe'>...</item>
<item id='4e30f35051b7b8b42abe083742187228'>...</item>
</items>
</pubsub>
</iq>
What do you see instead?
<iq type='result'
from='pubsub.shakespeare.lit'
id='items3'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<items node='princely_musings'>
<item id='368866411b877c30064a5f62b917cffe'>...</item>
</items>
</pubsub>
</iq>
All versions since Pubsub was introduced
Please provide a link to the specification:
https://xmpp.org/extensions/xep-0060.html#subscriber-retrieve-returnnotify
Please provide a snippet of the part of the specification which we violate if possible: What steps will reproduce the problem? <iq type='get' from='francisco@denmark.lit/barracks' to='pubsub.shakespeare.lit' id='items3'> <pubsub xmlns='http://jabber.org/protocol/pubsub'> <items node='princely_musings'> <item id='368866411b877c30064a5f62b917cffe'/> <item id='4e30f35051b7b8b42abe083742187228'/> </items> </pubsub> </iq> What is the expected output? <iq type='result' from='pubsub.shakespeare.lit' id='items3'> <pubsub xmlns='http://jabber.org/protocol/pubsub'> <items node='princely_musings'> <item id='368866411b877c30064a5f62b917cffe'>...</item> <item id='4e30f35051b7b8b42abe083742187228'>...</item> </items> </pubsub> </iq> What do you see instead? <iq type='result' from='pubsub.shakespeare.lit' id='items3'> <pubsub xmlns='http://jabber.org/protocol/pubsub'> <items node='princely_musings'> <item id='368866411b877c30064a5f62b917cffe'>...</item> </items> </pubsub> </iq> All versions since Pubsub was introduced Please provide a link to the specification: https://xmpp.org/extensions/xep-0060.html#subscriber-retrieve-returnnotify
Fixed in https://hg.prosody.im/trunk/rev/7aad9eb7f050