Blocked Functions throw unintended error.
nullKomplex opened this issue ยท 0 comments
Describe the bug
I believe the expected outcome is a warning symbol on the aura with a tooltip that describes the warning.
The actual result is a Lua error, seen below.
Do you have an error log of what happened?
5x WeakAuras\AuraEnvironment.lua:298: bad argument #2 to 'format' (string expected, got nil)
[string "@WeakAuras\AuraEnvironment.lua"]:298: in function <WeakAuras\AuraEnvironment.lua:296>
[string "=(tail call)"]: ?
[string "--[==[ Error in 'New 3':'initialization' ]==] return function() EditMacro()
end"]:1: in function <[string "--[==[ Error in 'New 3':'initialization' ]=..."]:1>
[string "=[C]"]: in function `xpcall'
[string "@WeakAuras\AuraEnvironment.lua"]:289: in function `ActivateAuraEnvironment'
[string "@WeakAuras\WeakAuras-@[email protected]"]:3871: in function <WeakAuras\WeakAuras.lua:3869>
[string "@WeakAuras\WeakAuras-@[email protected]"]:3966: in function `UpdatedTriggerState'
[string "@WeakAuras\WeakAuras-@[email protected]"]:3777: in function `UpdateFakeStatesFor'
[string "@WeakAuras\WeakAuras-@[email protected]"]:3750: in function `FakeStatesFor'
[string "@WeakAuras\WeakAuras-@[email protected]"]:2768: in function <WeakAuras\WeakAuras.lua:2659>
[string "@WeakAuras\WeakAuras-@[email protected]"]:2788: in function `Add'
[string "@WeakAurasOptions\CommonOptions.lua"]:1367: in function <WeakAurasOptions\CommonOptions.lua:1358>
[string "=[C]"]: ?
[string "@TomTom\libs\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-79.lua"]:51: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:49>
[string "@TomTom\libs\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-79.lua"]:843: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:664>
[string "=[C]"]: ?
[string "@TomTom\libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:72: in function <TomTom\libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@TomTom\libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:306: in function `Fire'
[string "@WeakAurasOptions\AceGUI-Widgets\AceGUIWidget-WeakAurasMultiLineEditBox.lua"]:59: in function <...I-Widgets\AceGUIWidget-WeakAurasMultiLineEditBox.lua:56>
To Reproduce
- Use a forbidden function such as EditMacro() in any code block (On Init was used in example).
or import the example aura below.
Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
Tested with only the official 6 WA addons enabled.
Which version of WeakAuras are you using?
42f02ac
Are you on World of Warcraft Classic or Retail?
- Classic
- Retail
Was it working in a previous version? If yes, which was the last good one?
Probably before the privatization changes were made.
Additional Info
!WA:2!1nzWUnntqC8gLdvybOsKOceCOFfOQCPqRevIJXbh1(P0MuhxA5KZAVRtwWzxRzxN20JwCGZ5riN5KFe4jWkcXdqFe6taZAhQqiWx8mJh)3)NF74ATBmUbTb9lphKP6yUGbDp1RZHh74gkJLW)xhVYPCvsmzQh7s9MVizHAeHkV4dDJIum9txjNichjHEsUqh0Y5yph3K1ctvA5yZBCAcLOzUSjmH(AskwLO5HNXP6r2nXuGeQ5sHAFxLMaAlBUGR3Agv6xPXGGQ75ouU(isii3(LbrytQrwzAGpCidu3Flyz4pS1ttybOw6u11PkMpj(cYuLgszdGurPpSn(iJMceZNUXUf3zElPa13ye7u0abMbMbzgbm5dYujS44dPkRRvPbLQ0dyr8lD73ZPthxbzmdFw5hmqjHGJKu2GB7TFAe2BUFRM99877101BoLfGf9q3ch40Px7t7mlvSCkSsEGbltyEv5gX(6kjp53oj8JKaIs)KLbUA(yg9g8qGbcs87rQGtZjZic(4YXC)I71U4H2cPG9ngrX6RbMyOE0Ql(fi8nOduSqKfQmtpg3vSJ9ycxGVBXofVA1IxxSBXEyyJ)SIDKuOtwRnWVAJtsjuuuYgEEZrg4YgAqRLDSKq33gzz46UJtJ1Cl3WyIsTEXBTSv8RyMGmJq9XKhVCx78QDT6ZHsDmUYwJmyoYugTCx6Z3n5z)v6yWIFcWc5gEup5)(3DrNINI8WrZuS4OQ9z7UEEDpc(iUcYJMA3XPT3CTmCsfDFun)zBYPlWXk8tm6goaibyALBRLhb4sbIzKd1VP6VK2Msg)h0VLRJZXlWnrSC3KYvpR9s508MEhq3UZ2DFZKUWLl1kaptI4dTYRasRYFoRvRw95H3U4ALZfvdeMzLDHeONbKKSZwg0qT37ytAm57N)Z)