#1269 Traceback when attempting to request voice in a MUC

Reporter Jonas Schäfer
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Milestone-0.11
  • Type-Defect
  • Priority-Medium
  • Status-Fixed
  1. Jonas Schäfer on

    What steps will reproduce the problem? 1. Clone, configure and make prosody 0.11 2. Provision some user and MUC service (e.g. with mod_auth_anonymous) 3. Join a MUC and attempt to request voice. What is the expected output? The voice request form is sent to moderators of the room. What do you see instead? A traceback in prosody’s log. What version of the product are you using? On what operating system? 0.11, hg:e616c37756b3 Please provide any additional information below. Traceback: c2s56404b75c7a0 debug Received[c2s]: <message to='coven@muc.localhost' id=':nULT7qbSGzqqUIJ1d13B'> muc.localhost:muc debug secondwitch requested voice in coven@muc.localhost runnerAqS6VXzA debug changed state from ready to error (ready) c2s56404b75c7a0 error Traceback[c2s]: ./plugins/muc/muc.lib.lua:136: attempt to index local 'stanza' (a nil value) stack traceback: ./plugins/muc/muc.lib.lua:136: in function 'route_to_occupant' ./plugins/muc/muc.lib.lua:205: in function 'broadcast' ./plugins/muc/request.lib.lua:87: in function '?' ./util/events.lua:79: in function <./util/events.lua:75> (...tail calls...) ./plugins/muc/request.lib.lua:72: in function 'handle_role_request' ./plugins/muc/muc.lib.lua:1205: in function <./plugins/muc/muc.lib.lua:1181> (...tail calls...) ./util/events.lua:79: in function <./util/events.lua:75> (...tail calls...) ./core/stanza_router.lua:180: in function 'core_post_stanza' ./core/stanza_router.lua:127: in function 'core_process_stanza' ./plugins/mod_c2s.lua:276: in function 'func' ./util/async.lua:127: in function <./util/async.lua:125> Client sends: <message xmlns:stream="http://etherx.jabber.org/streams" to="coven@muc.localhost" id=":nULT7qbSGzqqUIJ1d13B"> <x xmlns="jabber:x:data" type="submit"> <field var="FORM_TYPE" type="hidden"> <value>http://jabber.org/protocol/muc#request</value> </field> <field var="muc#role" type="list-single"> <value>participant</value> </field> </x> </message>

  2. Zash on

    Thanks for the report! Fixed in https://hg.prosody.im/trunk/rev/0cfb7b3593eb

    Changes
    • owner Zash
    • tags Milestone-0.11 Status-Fixed

New comment

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