#863 storagemanager: Traceback when opening a store on an uninitialized host
Reporter
Zash
Owner
Nobody
Created
Updated
Stars
★ (1)
Tags
Difficulty-Easy
Priority-Medium
Type-Defect
Status-Accepted
Zash
on
What steps will reproduce the problem?
storagemanager.open("somehost", "whatever")
where "somehost" is unknown to Prosody
What is the expected output?
Either the null driver or nil, error message.
What do you see instead?
core/storagemanager.lua:167: attempt to index field '?' (a nil value)
What version of the product are you using? On what operating system?
0.10 c654c92aad55
Please provide any additional information below.
storagemanager tries to use prosody.hosts[host].events
What steps will reproduce the problem? storagemanager.open("somehost", "whatever") where "somehost" is unknown to Prosody What is the expected output? Either the null driver or nil, error message. What do you see instead? core/storagemanager.lua:167: attempt to index field '?' (a nil value) What version of the product are you using? On what operating system? 0.10 c654c92aad55 Please provide any additional information below. storagemanager tries to use prosody.hosts[host].events