WeakAuras

WeakAuras

200M Downloads

IsBagOpen() conditional causing ForceTaint_Strong to bug out with certain Triggers

HonkdeVries opened this issue ยท 1 comments

commented

Description

Greetings,

I was trying to make an overlay with a border that changes color depending on the open/closed state of my bags. For this I used the conditional IsBagOpen(n), with n being the BagID:

image

The Weakaura works fine within the session it was created or loaded, but it starts causing problems when the game is restarted (or /reload'ed). After a restart, when trying to right-click an item with "Use:" functionality in the inventory, it shows "ForceTaint_Strong" to somehow have been affected:

image

This behaviour seems to depend on the type of Trigger used. A small list of things I've found:
Fine Triggers to use: Aura, Combat Log, Player/Unit Info: Cast
Error prone: Custom, Item, Player/Unit Info (minus "Cast" subtrigger), Spell

I'm not sure if this is unintended behaviour or if I'm misusing the IsBagOpen function.

WeakAuras Version

WeakAuras 5.3.7

World of Warcraft Flavor

Retail (Default)

Tested with only WeakAuras

  • Yes
  • No

Lua Error

[ADDON_ACTION_FORBIDDEN] AddOn '*** ForceTaint_Strong ***' tried to call the protected function 'UNKNOWN()'.
[string "@!BugGrabber/BugGrabber.lua"]:480: in function <!BugGrabber/BugGrabber.lua:480>
[string "=[C]"]: ?
[string "=[C]"]: in function `UseContainerItem'
[string "@FrameXML/ContainerFrame.lua"]:1402: in function <FrameXML/ContainerFrame.lua:1311>
[string "=[C]"]: in function `ContainerFrameItemButton_OnClick'
[string "@FrameXML/ContainerFrame.lua"]:1454: in function <FrameXML/ContainerFrame.lua:1441>

Reproduction Steps

  1. Make a WeakAura with an error-prone trigger such as Player/Unit Info: Health
  2. Add function() return IsBagOpen(0) end as a custom conditional
  3. Right-click an on-use item in inventory - No error
  4. Restart or /reload
  5. Right-click an on-use item in inventory - Error

Last Good Version

No response

Screenshots

No response

Export String

!WA:2!DvvWUTTrq0O6g0cEOiwn11PWfWiOni5IrqkIlGVz6kf7cfjhk640tMljhXDRP2Lz3LswgOhIou4Z6tqa9wrlGo3t(lGGOONlYNG)c6SlPusQoin7mZoZ8M9nJA0U5WMXnJV6BMZIe8(ICze0OKKRPcz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)Qh4frHOZ3TWzRBnDerYi4Z)IiKhkgAT4nIKMdzpyqopYCLh(iNTXpsah)4BFKYLK0ld4p8XpYb4XYikHNayClMyNsMMjfy1RN4zPSsIniQDlg6uGlsXIv74EPqmSH8I6NX5Ar0OQTaB24x)T7ZIlxLgFqPl(f7ZRD33b1)ZbUeb3sab3uXbBlX1BMUuy)d8A1Q7Ibgfy7fNlwleH)awIJKXnPbOEJTtKEK0mkzTfXmLz1(rOBB(r3T50L)7en7UlfnZL)atz6vX0MkVNUZ3TZ33C0F)Q)7p
commented

That's not a bug in WeakAuras. Blizzard has open bug reports for taint issues with bags: Stanzilla/WoWUIBugs#310 In any case there's zero indication that the taint issue is a WeakAuras bug