Skip to content

Using items in bag causes LUA error. /reload fixes until it happens again #2108

@aristoblis

Description

@aristoblis

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

When I was in the Corin Direbrew event in MoP Classic I got hit with one of the brews you have to drink. When I opened my bag to use it I got this error:

1x [ADDON_ACTION_FORBIDDEN] AddOn 'Bagnon' tried to call the protected function 'UNKNOWN()'.
[*ContainerFrame.xml:163_OnClick]:13: in function <[string "*ContainerFrame.xml:163_OnClick"]:1>

Locals:
self = BagnonContainerItem29 {
IconOverlay = Texture {
}
Scripts =

{
}
flashAnim = AnimationGroup {
}
NewItemTexture = Texture {
}
IgnoredOverlay = Texture {
}
Dummy = Button {
}
Count = BagnonContainerItem29Count {
}
searchOverlay = BagnonContainerItem29SearchOverlay {
}
None =
{
}
bag = 1
__template = "ContainerFrameItemButtonTemplate"
Cooldown = BagnonContainerItem29Cooldown {
}
Tag = "Bagnon."
FlashFind = AnimationGroup {
}
ExtendedOverlay2 = Texture {
}
__index =
{
}
__name = "BagnonContainerItem"
Stock = BagnonContainerItem29Stock {
}
__super =
{
}
__base =
{
}
IconBorder = Texture {
}
icon = BagnonContainerItem29IconTexture {
}
Backgrounds =
{
}
__type = "ItemButton"
IconGlow = Texture {
}
HighlightTexture = Texture {
}
flash = Texture {
}
PushedTexture = Texture {
}
frame = BagnonInventory1 {
}
BagFamilies =
{
}
IconOverlay2 = Texture {
}
BagStaticTop = Texture {
}
newitemglowAnim = AnimationGroup {
}
itemContextMatchResult = 3
count = 1
NormalTexture = BagnonContainerItem29NormalTexture {
}
__frames =
{
}
hasItem = true
UpgradeIcon = Texture {
}
info =
{
}
QuestBang = BagnonContainerItem29IconQuestTexture {
}
timeSinceUpgradeCheck = 0
showMatchHighlight = true
ExtendedOverlay = Texture {
}
ItemContextOverlay = Texture {
}
__count = 29
ExtendedSlot = Texture {
}
BagStaticBottom = Texture {
}
JunkIcon = Texture {
}
subicon = BagnonContainerItem29SubIconTexture {
}
readable = false
BattlepayItemTexture = Texture {
}
}
button = "RightButton"
down = false
modifiedClick = false

Doing a /reload fixes it for a while, then it happens again later.

I am playing MoP Classic but the only option I had to select was Cata Classic.

Bagnon Version

11.2.9

World of Warcraft Flavor

Cataclysm Classic

World of Warcraft Region

US/NA

Tested with only Bagnon

I got this issue with only Bagnon enabled

Lua Error

1x [ADDON_ACTION_FORBIDDEN] AddOn 'Bagnon' tried to call the protected function 'UNKNOWN()'.
[*ContainerFrame.xml:163_OnClick]:13: in function <[string "*ContainerFrame.xml:163_OnClick"]:1>

Locals:
self = BagnonContainerItem29 {
 IconOverlay = Texture {
 }
 Scripts = <table> {
 }
 flashAnim = AnimationGroup {
 }
 NewItemTexture = Texture {
 }
 IgnoredOverlay = Texture {
 }
 Dummy = Button {
 }
 Count = BagnonContainerItem29Count {
 }
 searchOverlay = BagnonContainerItem29SearchOverlay {
 }
 None = <table> {
 }
 bag = 1
 __template = "ContainerFrameItemButtonTemplate"
 Cooldown = BagnonContainerItem29Cooldown {
 }
 Tag = "Bagnon."
 FlashFind = AnimationGroup {
 }
 ExtendedOverlay2 = Texture {
 }
 __index = <table> {
 }
 __name = "BagnonContainerItem"
 Stock = BagnonContainerItem29Stock {
 }
 __super = <table> {
 }
 __base = <table> {
 }
 IconBorder = Texture {
 }
 icon = BagnonContainerItem29IconTexture {
 }
 Backgrounds = <table> {
 }
 __type = "ItemButton"
 IconGlow = Texture {
 }
 HighlightTexture = Texture {
 }
 flash = Texture {
 }
 PushedTexture = Texture {
 }
 frame = BagnonInventory1 {
 }
 BagFamilies = <table> {
 }
 IconOverlay2 = Texture {
 }
 BagStaticTop = Texture {
 }
 newitemglowAnim = AnimationGroup {
 }
 itemContextMatchResult = 3
 count = 1
 NormalTexture = BagnonContainerItem29NormalTexture {
 }
 __frames = <table> {
 }
 hasItem = true
 UpgradeIcon = Texture {
 }
 info = <table> {
 }
 QuestBang = BagnonContainerItem29IconQuestTexture {
 }
 timeSinceUpgradeCheck = 0
 showMatchHighlight = true
 ExtendedOverlay = Texture {
 }
 ItemContextOverlay = Texture {
 }
 __count = 29
 ExtendedSlot = Texture {
 }
 BagStaticBottom = Texture {
 }
 JunkIcon = Texture {
 }
 subicon = BagnonContainerItem29SubIconTexture {
 }
 readable = false
 BattlepayItemTexture = Texture {
 }
}
button = "RightButton"
down = false
modifiedClick = false

Reproduction Steps

Go into the Coren Direbrew event, have the chick hit you with a bug, open your bag and try to use it.

Last Working Version

No response

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions