UseToy call throws LUA error
greatday2882 opened this issue ยท 10 comments
Addon Version
v1.9.48
World of Warcraft Version
Retail
Describe the bug
The error is triggered when using the Scouting Map toys from the Toy Box. Below is the error from BugGrabber:
2x [ADDON_ACTION_FORBIDDEN] AddOn 'AdiBags' tried to call the protected function 'UseToy()'.
[string "@!BugGrabber/BugGrabber.lua"]:480: in function <!BugGrabber/BugGrabber.lua:480>
[string "=[C]"]: in function UseToy' [string "@Blizzard_Collections/Blizzard_ToyBox.lua"]:181: in function
ToySpellButton_OnClick'
[string "*Blizzard_ToyBox.xml:10_OnClick"]:4: in function <[string "*Blizzard_ToyBox.xml:10_OnClick"]:1>
Steps to reproduce
- Open the Toy Box
- Left Click on a few of the "Scouting Map:_____________" toys
- As the map is attempting to cast, the error will prevent it from completing
Verification
- I have disabled all other addons and made sure this bug is triggered only with AdiBags enabled
I also have the latest 1.9.50 and cannot click on my toys. This error occurs
3x [ADDON_ACTION_FORBIDDEN] AddOn 'AdiBags' tried to call the protected function 'UseToy()'.
[string "@!BugGrabber/BugGrabber.lua"]:480: in function <!BugGrabber/BugGrabber.lua:480>
[string "=[C]"]: in function UseToy' [string "@Blizzard_Collections/Blizzard_ToyBox.lua"]:181: in function
ToySpellButton_OnClick'
[string "*Blizzard_ToyBox.xml:10_OnClick"]:4: in function <[string "*Blizzard_ToyBox.xml:10_OnClick"]:1>
Can you check and see if this is still happening in .49, the version released this morning?
I updated this morning, and it seems to be fixed. I ran through all 10 maps and no errors :)
I updated to 1.9.49 and got this error after looting the Golden Dragon Goblet, using it in my bags, and then trying to click it in the Toy Box.
Date: 2022-11-28 21:57:40
ID: 6
Error occured in: AddOn: AdiBags
Count: 1
Message: Error: AddOn AdiBags attempted to call a forbidden function (UseToy()) from a tainted execution path.
Debug:
[string "=[C]"]: UseToy()
[string "@Interface/AddOns/Blizzard_Collections/Blizzard_ToyBox.lua"]:181: ToySpellButton_OnClick()
[string "*Blizzard_ToyBox.xml:10_OnClick"]:4:
[string "*Blizzard_ToyBox.xml:10_OnClick"]:1
Locals:
None
AddOns:
Swatter, v8.2.6511 (SwimmingSeadragon)
AdiBags, vv1.9.49
As of yesterday and the latest update, this appears to be FIXED! Thank you very much
11x [ADDON_ACTION_FORBIDDEN] AddOn 'AdiBags' tried to call the protected function 'UseToy()'.
[string "@!BugGrabber/BugGrabber.lua"]:480: in function <!BugGrabber/BugGrabber.lua:480>
[string "=[C]"]: in function UseToy' [string "@Blizzard_Collections/Blizzard_ToyBox.lua"]:181: in function
ToySpellButton_OnClick'
[string "*Blizzard_ToyBox.xml:10_OnClick"]:4: in function <[string "*Blizzard_ToyBox.xml:10_OnClick"]:1>