#1351 pubsub test fails with expose_publisher enabled

Reporter Zash
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Type-Defect
  • Priority-Medium
  • Status-Accepted
  1. Zash on

    What steps will reproduce the problem? diff -r 9cb639ef5c72 spec/scansion/prosody.cfg.lua --- a/spec/scansion/prosody.cfg.lua Mon Apr 29 17:27:08 2019 +0200 +++ b/spec/scansion/prosody.cfg.lua Wed May 01 23:58:24 2019 +0200 @@ -87,3 +87,4 @@ Component "conference.localhost" "muc" Component "pubsub.localhost" "pubsub" storage = "memory" + expose_publisher = true make integration-test What is the expected output? ok Pubsub: Node creation, publish, subscribe, affiliations and delete What do you see instead? fail Pubsub: Node creation, publish, subscribe, affiliations and delete What version of the product are you using? On what operating system? trunk 9cb639ef5c72 Please provide any additional information below. Balthasar sends <iq id='create2' type='set' to='pubsub.localhost'> <pubsub xmlns='http://jabber.org/protocol/pubsub'> <create xmlns='http://jabber.org/protocol/pubsub' node='princely_musings'/> </pubsub> </iq> Balthasar receives <iq type='result' id='create2'/> FAILED: Pubsub: Node creation, publish, subscribe, affiliations and delete Received unexpected stanza: <iq from='pubsub.localhost' type='error' id='create2' to='admin@localhost/pfe6Zbk0'> <error type='cancel'> <conflict xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> </error> </iq> Expected: <iq type='result' id='create2'/> ( Another test fails because it does not expect the added publisher attribute )

New comment

Not published. Used for spam prevention and optional update notifications.