DBM - Deadly Boss Mods (DBM-Core)

DBM - Deadly Boss Mods (DBM-Core)

530M Downloads

Typing /dbm test stop produces LUA error if DBM-Tests are not enabled

jungheeMW opened this issue ยท 1 comments

commented

Describe the bug
If DBM-Tests are not enabled in the addon selection list, typing /dbm test stop produces the following LUA error

Do you have an error log of what happened?

1x DBM-Core/modules/objects/Testing.lua:54: attempt to call method 'StopTests' (a nil value)
[string "@DBM-Core/modules/objects/Testing.lua"]:54: in function `HandleCommand'
[string "@DBM-Core/modules/Commands.lua"]:433: in function `?'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5440: in function `ChatEdit_ParseText'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5092: in function `ChatEdit_SendText'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5128: in function `ChatEdit_OnEnterPressed'
[string "*ChatFrame.xml:140_OnEnterPressed"]:1: in function <[string "*ChatFrame.xml:140_OnEnterPressed"]:1>

Locals:
self = <table> {
 testRunning = false
 framesForTimeWarp = <table> {
 }
}
testName = "stop"
timeWarp = nil
numTestAddOnsFound = 2
(*temporary) = nil
(*temporary) = <table> {
 testRunning = false
 framesForTimeWarp = <table> {
 }
}
(*temporary) = "attempt to call method 'StopTests' (a nil value)"
DBM = <table> {
 DungeonMusic = <table> {
 }
 ReleaseRevision = 20240728000000
 Arrow = <table> {
 }
 RangeCheck = <table> {
 }
 Test = <table> {
 }
 Voices = <table> {
 }
 BattleMusic = <table> {
 }
 InfoFrame = <table> {
 }
 Flash = <table> {
 }
 lastAntiSpamVIBRATE = 12225.695000
 ModLists = <table> {
 }
 Music = <table> {
 }
 classicSubVersion = 0
 Mods = <table> {
 }
 registeredUnitEvents = <table> {
 }
 VoiceVersions = <table> {
 }
 AddOns = <table> {
 }
 Options = <table> {
 }
 Revision = 20240729080731
 shortTermRegisterEvents = <table> {
 }
 Defeat = <table> {
 }
 Victory = <table> {
 }
 DefaultOptions = <table> {
 }
 Counts = <table> {
 }
 Nameplate = <table> {
 }
 HudMap = <table> {
 }
 DisplayVersion = "11.0.3 alpha"
 HighestRelease = 20240728000000
}
test = <table> {
 testRunning = false
 framesForTimeWarp = <table> {
 }
}

Did you try having DeadlyBossMods as the only enabled addon and everything else (especially something like ElvUI) disabled?
No

Which version of DeadlyBossMods are you using?
11.0.2-3 alpha

Was it working in a previous version? If yes, which was the last good one?
Do not know

commented

Now prints an error message in chat instead of producing a LUA error.