AdiBags

AdiBags

8M Downloads

UseToy call throws LUA error

greatday2882 opened this issue ยท 10 comments

commented

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

  1. Open the Toy Box
  2. Left Click on a few of the "Scouting Map:_____________" toys
  3. 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
commented

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>

commented

Can you check and see if this is still happening in .49, the version released this morning?

commented

I updated this morning, and it seems to be fixed. I ran through all 10 maps and no errors :)

commented

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
commented

This error is still happening today with the same 'UseToy' issue.

commented

Not fixed as of 1.9.54.

commented

As of yesterday and the latest update, this appears to be FIXED! Thank you very much

commented

1.10.2 appears to fix this issue.

commented

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>

commented

Saw this on 1.10.7