#1242 Traceback in MUC

Reporter Zash
Owner Zash
Stars ★ (1)
  • Status-Fixed
  • Type-Defect
  • Priority-Medium
  • Milestone-0.11
  • Difficulty-Easy
  1. Zash on

    What steps will reproduce the problem? Send <iq id="1" to="room@muc.host" type="set"><query xmlns="http://jabber.org/protocol/muc#admin"/></iq> What is the expected output? No error. What do you see instead? Traceback[c2s]: plugins/muc/muc.lib.lua:908: attempt to index local 'item' (a nil value) stack traceback: plugins/muc/muc.lib.lua:908: in function <plugins/muc/muc.lib.lua:903> (...tail calls...) ./util/events.lua:79: in function <./util/events.lua:75> (...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> What version of the product are you using? On what operating system? 0.11.0 and trunk Please provide any additional information below. Missing return statement in https://hg.prosody.im/trunk/rev/494938dec5d8

  2. Zash on

    Fixed in https://hg.prosody.im/trunk/rev/28d4b9d5a432

    • tags Status-Fixed Difficulty-Easy
    • owner Zash

New comment

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