You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing open and closed issues.
Description
When I specify a Spell Name for a Combat Log Trigger, then update the Trigger's type from Combat Log to Spell, I expect WeakAuras to show the options for a Spell Trigger. Instead, WeakAuras throws a lua error, and the WeakAuras Options UI stops working properly for the Aura in question.
In this broken state, WeakAuras will throw the same lua error every time the affected Aura's options are opened or changed. Adding, deleting, or moving Triggers or Conditions for the affected Aura are not reflected by the WeakAuras Options UI until the offending Trigger is deleted or its Type is changed.
WeakAuras can be restored to a fully working state by deleting the offending Aura, deleting the offending Trigger, or modifying the Type of the offending Trigger.
WeakAuras Version
WeakAuras 5.17.5
World of Warcraft Flavor
Retail (Default)
World of Warcraft Region
US/NA
Tested with only WeakAuras
I got this issue with only WeakAuras enabled
Lua Error
1x bad argument #1 to '?' (Usage: local name = C_Spell.GetSpellName(spellIdentifier))
[string "=[C]"]: in function `GetSpellName'
[string "@WeakAuras/GenericTrigger.lua"]:3445: in function `GetEffectiveSpellId'
[string "@WeakAuras/Prototypes.lua"]:2252: in function `GetNameAndIcon'
[string "@WeakAuras/GenericTrigger.lua"]:1064: in function <WeakAuras/GenericTrigger.lua:1050>
[string "@WeakAuras/GenericTrigger.lua"]:1100: in function `CreateFakeStates'
[string "@WeakAuras/WeakAuras.lua"]:4678: in function `UpdateFakeStatesFor'
[string "@WeakAuras/WeakAuras.lua"]:4654: in function `FakeStatesFor'
[string "@WeakAuras/WeakAuras.lua"]:3268: in function <WeakAuras/WeakAuras.lua:3119>
[string "@WeakAuras/WeakAuras.lua"]:3292: in function `Add'
[string "@WeakAurasOptions/CommonOptions.lua"]:1733: in function <WeakAurasOptions/CommonOptions.lua:1725>
[string "=[C]"]: ?
[string "@WeakAurasOptions/Libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:45: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:43>
[string "@WeakAurasOptions/Libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:839: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:661>
[string "=[C]"]: ?
[string "@WeakAurasOptions/Libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <...dOns/WeakAurasOptions/Libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@WeakAurasOptions/Libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@WeakAurasOptions/Libs/AceGUI-3.0-41/widgets/AceGUIWidget-DropDown.lua"]:432: in function <...ns/Libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua:423>
[string "=[C]"]: ?
[string "@WeakAurasOptions/Libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <...dOns/WeakAurasOptions/Libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@WeakAurasOptions/Libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@WeakAurasOptions/Libs/AceGUI-3.0-41/widgets/AceGUIWidget-DropDown-Items.lua"]:351: in function <...s/AceGUI-3.0/widgets/AceGUIWidget-DropDown-Items.lua:341>
Locals:
(*temporary) = "bad argument #1 to '?' (Usage: local name = C_Spell.GetSpellName(spellIdentifier))"
Reproduction Steps
Open WeakAura's Options.
Select an existing Aura, or create a new one (the type does not matter as long as it is not a Group/Dynamic Group).
Open the Trigger tab.
Expand the options for any trigger (it does not matter which trigger) by clicking the arrow next to its name. If the options are already expanded for you, simply go to the next step.
Change the Type dropdown to "Combat Log", if it isn't already.
Change the Subevent dropdown to "Spell", if it isn't already.
Check the box next to Spell Name.
Enter a valid spell name (like Rip) into the Spell Name text box, then press Okay.
Change the Type dropdown to "Spell".
Observe the resulting lua error and strange UI behavior.
Last Good Version
No response
Screenshots
Export String
No response
Bisector Report
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Description
When I specify a Spell Name for a Combat Log Trigger, then update the Trigger's type from Combat Log to Spell, I expect WeakAuras to show the options for a Spell Trigger. Instead, WeakAuras throws a lua error, and the WeakAuras Options UI stops working properly for the Aura in question.
In this broken state, WeakAuras will throw the same lua error every time the affected Aura's options are opened or changed. Adding, deleting, or moving Triggers or Conditions for the affected Aura are not reflected by the WeakAuras Options UI until the offending Trigger is deleted or its Type is changed.
WeakAuras can be restored to a fully working state by deleting the offending Aura, deleting the offending Trigger, or modifying the Type of the offending Trigger.
WeakAuras Version
WeakAuras 5.17.5
World of Warcraft Flavor
Retail (Default)
World of Warcraft Region
US/NA
Tested with only WeakAuras
I got this issue with only WeakAuras enabled
Lua Error
Reproduction Steps
Last Good Version
No response
Screenshots
Export String
No response
Bisector Report
No response
The text was updated successfully, but these errors were encountered: