ActionbarPlus

ActionbarPlus

78.7k Downloads

Bug Fix: Equipment Set Errors

nfet opened this issue ยท 0 comments

commented

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Drag and drop an equipment set multiple times over another
  2. See error

Lua Error:

Message: ...rPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:310: attempt to index local 'e' (a nil value)
Time: Tue Feb 28 14:49:34 2023
Count: 1
Stack: ...rPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:310: attempt to index local 'e' (a nil value)
[string "@Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua"]:310: in function `IsInvalidEquipmentSet'
[string "@Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua"]:335: in function `IsMissingEquipmentSet'
[string "@Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/EquipmentSetDragEventHandler.lua"]:60: in function <.../Lib/Widget/Buttons/EquipmentSetDragEventHandler.lua:59>
[string "@Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/EquipmentSetDragEventHandler.lua"]:70: in function <.../Lib/Widget/Buttons/EquipmentSetDragEventHandler.lua:70>

Locals: self = <table> {
 IsInvalidSpell = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:293
 SetActionUsable = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:847
 IsValidItemProfile = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:893
 IsOverrideKeyDown = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:275
 SetButtonStateNormal = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:676
 GuessButtonType = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:103
 SetVertexColorNormal = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:627
 SetNormalIconAlpha = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:626
 IsMacro = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:213
 SetButtonProperties = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:84
 GetBindings = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:302
 IsBattlePet = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:226
 UpdateStateDelayed = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:530
 buttonAttributes = <table> {
 }
 GetCooldownInfo = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:349
 IsTooltipModifierKeyDown = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:261
 RegisterMessage = <function> defined @Interface/AddOns/ActionbarPlus/Core/ExtLib/WowAce/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:85
 UnregisterMessage = <function> defined @Interface/AddOns/ActionbarPlus/Core/ExtLib/WowAce/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:148
 IsUsableSpell = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:861
 IsConfigOfType = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonProfileMixin.lua:255
 SetIcon = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:884
 dragFrame = <table> {
 }
 HideEmptyGridEvent = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:659
 logger = <table> {
 }
 ShowEmptyGridEvent = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:646
 GetButtonAttributes = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:275
 GetSpellCooldown = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:371
 IsUsableMacro = <function> defined @Interface/AddOns/ActionbarPlus/Core/Lib/Widget/Buttons/ButtonMixin.lua:877
 SetButtonAttributes = <function> defined @Int