WeakAuras

WeakAuras

206M Downloads

Error when changing type of the nth trigger

Nightwarden24 opened this issue · 0 comments

commented

Describe the bug

Changing type of the nth trigger (n ≥ 2) from aura to event or status results in an error (improper arguments to WeakAuras.Add). This only takes place if you add triggers but don't duplicate them.

Do you have an error log of what happened?

1x WeakAuras\GenericTrigger.lua:1141: Improper arguments to WeakAuras.Add - trigger type is "event" but event is not defined
[string "=[C]"]: ?
[string "@WeakAuras\GenericTrigger.lua"]:1141: in function `Add'
[string "@WeakAuras\WeakAuras-2.17.12-7-ga3a028b5.lua"]:4672: in function <WeakAuras\WeakAuras.lua:4619>
[string "@WeakAuras\WeakAuras-2.17.12-7-ga3a028b5.lua"]:4751: in function `Add'
[string "@WeakAurasOptions\CommonOptions.lua"]:1362: in function <WeakAurasOptions\CommonOptions.lua:1350>
[string "=[C]"]: ?
[string "@WeakAuras\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 "@WeakAuras\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 "@WeakAuras\Libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:72: in function <...faceWeakAuras\Libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@WeakAuras\Libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:306: in function `Fire'
[string "@WeakAuras\Libs\AceGUI-3.0-41\widgets\AceGUIWidget-DropDown.lua"]:442: in function <...as\Libs\AceGUI-3.0\widgets\AceGUIWidget-DropDown.lua:433>
[string "=[C]"]: ?
[string "@WeakAuras\Libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:72: in function <...faceWeakAuras\Libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@WeakAuras\Libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:306: in function `Fire'
[string "@WeakAuras\Libs\AceGUI-3.0-41\widgets\AceGUIWidget-DropDown-Items.lua"]:351: in function <...s\AceGUI-3.0\widgets\AceGUIWidget-DropDown-Items.lua:341>

To Reproduce

Steps to reproduce the behavior:
Link to a gif

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
Addons are disabled during testing.

Which version of WeakAuras are you using?
2.17.12-7-ga3a028b5

Are you on World of Warcraft Classic or Retail?

  • Retail

Was it working in a previous version? If yes, which was the last good one?
In at least 2.17.12 version