
Lua error on bag opening and strange icons glowing
Cudyhouse opened this issue ยท 1 comments
Addon Version
v0.3.18
World of Warcraft Version
Retail
Describe the bug
when opening the bag : (didn't happend without beterbag on)
Message: ...ns/Blizzard_ItemButton/Shared/ItemButtonTemplate.lua:256: attempt to call global 'GetItemButtonIconTexture' (a nil value)
Time: Wed Feb 26 11:46:20 2025
Count: 73
Stack:
[Interface/AddOns/Blizzard_ItemButton/Shared/ItemButtonTemplate.lua]:256: in function 'GetItemButtonIconTexture'
[Interface/AddOns/Masque/Core/Button.lua]:76: in function <Interface/AddOns/Masque/Core/Button.lua:75>
[Interface/AddOns/Masque/Core/Button.lua]:317: in function <Interface/AddOns/Masque/Core/Button.lua:216>
[Interface/AddOns/Masque/Core/Group.lua]:229: in function 'RemoveButton'
[Interface/AddOns/BetterBags/integrations/masque.lua]:88: in function 'cb'
[Interface/AddOns/BetterBags/core/events.lua]:49: in function <Interface/AddOns/BetterBags/core/events.lua:47>
[C]: ?
[Interface/AddOns/Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:19: in function <...que/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[Interface/AddOns/Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:54: in function 'SendMessage'
[Interface/AddOns/BetterBags/core/events.lua]:206: in function 'SendMessage'
[Interface/AddOns/BetterBags/frames/item.lua]:618: in function 'ClearItem'
[Interface/AddOns/BetterBags/frames/item.lua]:684: in function 'resetFn'
...[Interface/AddOns/BetterBags/core/hooks.lua]:140: in function 'cb'
[Interface/AddOns/BetterBags/core/events.lua]:67: in function <Interface/AddOns/BetterBags/core/events.lua:64>
[C]: ?
[Interface/AddOns/Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:19: in function <...que/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[Interface/AddOns/Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:54: in function 'Fire'
[Interface/AddOns/TomTom/libs/AceEvent-3.0/AceEvent-3.0.lua]:120: in function <...ace/AddOns/TomTom/libs/AceEvent-3.0/AceEvent-3.0.lua:119>
[C]: in function 'CloseBankFrame'
[Interface/AddOns/BetterBags/frames/bag.lua]:214: in function 'Hide'
[Interface/AddOns/BetterBags/themes/default.lua]:43: in function <Interface/AddOns/BetterBags/themes/default.lua:42>
[Interface/AddOns/BetterBags/core/context.lua]:164: in function <Interface/AddOns/BetterBags/core/context.lua:162>
Locals:
self = BetterBagsItemButton601Decorationdefault {
matchesSearch = true
IconOverlay = Texture {
}
__MSQ_bType = "Item"
AugmentBorderAnim = AnimationGroup {
}
IconBorder = Texture {
}
icon = BetterBagsItemButton601DecorationdefaultIconTexture {
}
isExtended = false
timeSinceUpgradeCheck = 0
count = 1
isProfessionItem = true
ItemSlotBackground = Texture {
}
HighlightTexture = Texture {
}
flashAnim = AnimationGroup {
}
PixelSnapDisabled = true
IconQuestTexture = BetterBagsItemButton601DecorationdefaultIconQuestTexture {
}
__Regions =
}
NewItemTexture = Texture {
}
showMatchHighlight = true
PushedTexture = Texture {
}
flash = Texture {
}
emptyBackgroundAtlas = "bags-item-slot64"
Count = BetterBagsItemButton601DecorationdefaultCount {
}
searchOverlay = BetterBagsItemButton601DecorationdefaultSearchOverlay {
}
__MSQ_Icon = BetterBagsItemButton601DecorationdefaultIconTexture {
}
hasItem = 1
IconOverlay2 = Texture {
}
bagID = 15
NormalTexture = BetterBagsItemButton601DecorationdefaultNormalTexture {
}
BattlepayItemTexture = Texture {
}
IconTexture = BetterBagsItemButton601DecorationdefaultIconTexture {
}
minDisplayCount = 1
ProfessionQualityOverlay = Texture {
}
__MSQ_Addon = "BetterBags"
isCraftedItem = false
newitemglowAnim = AnimationGroup {
}
UpgradeIcon = Texture {
}
Cooldown = BetterBagsItemButton601DecorationdefaultCooldown {
}
__MSQ_IsItem = true
__MSQ_Shape = "Blizzard"
itemContextMatchResult = 1
__MSQ_Mask = MaskTexture {
}
__MSQ_Empty_Type = true
ItemContextOverlay = Texture {
}
__MSQ_Normal_Hook = true
ExtendedSlot = Texture {
}
__MSQ_oType = "Button"
JunkIcon = Texture {
}
BagIndicator = Texture {
}
Stock = BetterBagsItemButton601DecorationdefaultStock {
}
AugmentBorderAnimTexture = Texture {
}
readable
Steps to reproduce
just opening bag or bank.... get new item do it too
There's a bug in Blizz's code that affects Masque, which in turns affects BetterBags. There's a workaround posted in this issue here: SFX-WoW/Masque#406