#1801 Error on unloading http module: util/multitable.lua:47: table index is nil

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

    What steps will reproduce the problem? 1. Start Prosody 2. Unload a HTTP module, e.g. with 'prosodyctl shell module unload http_file_share' What is the expected output? Unloaded from upload.test OK: Module unloaded from 1 host What do you see instead? ./util/multitable.lua:47: table index is nil What version of the product are you using? On what operating system? Reproduced on 0.12.3 on Debian Linux Please provide any additional information below. Introduced in https://hg.prosody.im/trunk/rev/24b55f0e2db9 according to bisect It adds a conditional event hook without making unhook equally conditional. First noticed when deactivating the whole host, where reproducing may depend on which order modules are unloaded in.

  2. Zash on

    Fixed in https://hg.prosody.im/trunk/rev/419e55abd285

  3. Zash on

    • tags Status-Fixed
  4. Zash on

    • owner Zash

New comment

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