#1801 Error on unloading http module: util/multitable.lua:47: table index is nil
Reporter
Zash
Owner
Zash
Created
Updated
Stars
★ (1)
Tags
Priority-Medium
Status-Fixed
Type-Defect
Milestone-0.12
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.
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.
Fixed in https://hg.prosody.im/trunk/rev/419e55abd285