Custom Variables - incorrect value can make the trigger tab blank
asaka-wa opened this issue ยท 0 comments
Describe the bug
Using aura_env
in Custom variables causes an error which makes the trigger tab go blank, making it unfixable within the game.
Do you have an error log of what happened?
5x [string "return aura_env.v..."]:1: attempt to index global 'aura_env' (a nil value)
[string "return aura_env.v
"]:1: in function `func'
[string "@WeakAurasOptions\OptionsFrames\TextEditor.lua"]:615: in function <WeakAurasOptions\OptionsFrames\TextEditor.lua:603>
Locals:
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'aura_env' (a nil value)"
To Reproduce
- new Aura
- TSU
- Open Custom Variables
- Enter
aura_env.myTable
Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
Nope
Which version of WeakAuras are you using?
3.0.6
Are you on World of Warcraft Classic or Retail?
- Classic
- [ x] Retail
Was it working in a previous version? If yes, which was the last good one?
Don't think so
Additional Info
It might seem like a bit of a weird thing to do at all but actually defining a table in Init and using it in Custom Variables could be kinda useful - not so much as in the example steps above, but more likely in the values
table of a "select" Condition. In any case, if it's not intended to use aura_env
inside Custom Variables then that's fine but it oughtn't create an unfixable problem.