BetterBags

BetterBags

2M Downloads

ADDON_ACTION_FORBIDDEN] AddOn 'BetterBags' tried to call the protected function 'UNKNOWN()'

navara opened this issue ยท 2 comments

commented

Addon Version

0.3.21

World of Warcraft Version

Cataclysm

Describe the bug

When I try to use a consume from bag, I just get a sound as if I couldn't use/equip the item.
When I click on Thunderfurry it gets equipped without issues.

Message: [ADDON_ACTION_FORBIDDEN] AddOn 'BetterBags' tried to call the protected function 'UNKNOWN()'. Time: Wed May 28 20:13:14 2025 Count: 1 Stack: [ADDON_ACTION_FORBIDDEN] AddOn 'BetterBags' tried to call the protected function 'UNKNOWN()'. [string "=[C]"]: in function ContainerFrameItemButton_OnClick'
[string "*ContainerFrame.xml:163_OnClick"]:13: in function <[string "*ContainerFrame.xml:163_OnClick"]:1>

Locals: (*temporary) = BetterBagsItemButton675 {
BattlepayItemTexture = Texture {
}
IconOverlay = Texture {
}
BagStaticTop = Texture {
}
flash = Texture {
}
IconBorder = Texture {
}
ExtendedOverlay2 = Texture {
}
icon = BetterBagsItemButton675IconTexture {
}
JunkIcon = Texture {
}
ExtendedOverlay = Texture {
}
timeSinceUpgradeCheck = 0
UpgradeIcon = Texture {
}
flashAnim = AnimationGroup {
}
newitemglowAnim = AnimationGroup {
}
subicon = BetterBagsItemButton675SubIconTexture {
}
Count = BetterBagsItemButton675Count {
}
ExtendedSlot = Texture {
}
BagStaticBottom = Texture {
}
searchOverlay = BetterBagsItemButton675SearchOverlay {
}
NewItemTexture = Texture {
}
}
(*temporary) = "RightButton"
`

Steps to reproduce

  1. Open the bag
  2. Click on Consume (Bandages, Elixir of Water Walking tested in my case)
  3. Get error sound and script error
  4. Click on Weapon (Thunderfurry)
  5. Same sound, but gets equipped, and the original weapon (Dragonwrath in my test) appears in the Bag
commented

I had originally used a workaround in #747 (comment) that solved the same issue back then.

commented

Same experience. Have to any usable item to action bar and use it from there as a workaround in the meantime.