#1326 mod_storage_memory.lua: attempt to concatenate a nil value

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

    What steps will reproduce the problem? 1. ??? 2. storage_memory archive:append() What is the expected output? No traceback What do you see instead? Traceback[c2s]: /usr/lib/prosody/modules/mod_storage_memory.lua:59: attempt to concatenate a nil value stack traceback: /usr/lib/prosody/modules/mod_storage_memory.lua:59: in function 'append' /usr/lib/prosody/modules/mod_mam/mod_mam.lua:303: in function '?' /usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75> (...tail calls...) /usr/lib/prosody/core/stanza_router.lua:180: in function 'core_post_stanza' /usr/lib/prosody/core/stanza_router.lua:127: in function 'core_process_stanza' /usr/lib/prosody/modules/mod_c2s.lua:276: in function 'func' /usr/lib/prosody/util/async.lua:127: in function </usr/lib/prosody/util/async.lua:125> What version of the product are you using? On what operating system? 0.11.2 on Debian testing

  2. Zash on

    I'll just change it to use util.id

    Changes
    • owner Zash
    • tags Status-Started
  3. Zash on

    Fixed in https://hg.prosody.im/trunk/rev/40ed04014b97 Thanks to teba for reporting.

    Changes
    • tags Status-Fixed

New comment

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