SLOKnightfall / BetterWardrobe

30 stars 14 forks source link

BetterWardrobe prevents the internal Blizzard Outfitter to copy Transmog Links to Clipboard! #435

Open fubaWoW opened 2 months ago

fubaWoW commented 2 months ago

The AddOn prevents the internal Blizzard Dressing Room to copy Transmog Links to Clipboard and generates a LUA Error (see below).

1x [ADDON_ACTION_FORBIDDEN] AddOn 'BetterWardrobe' tried to call the protected function 'CopyToClipboard()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `CopyToClipboard'
[string "@Blizzard_SharedXMLGame/DressUpModelFrameMixin.lua"]:60: in function `func'
[string "@Blizzard_SharedXML/Mainline/UIDropDownMenu.lua"]:1019: in function `UIDropDownMenuButton_OnClick'
[string "*UIDropDownMenuTemplates.xml:133_OnClick"]:1: in function <[string "*UIDropDownMenuTemplates.xml:133_OnClick"]:1>

Locals:
_ = Frame {
 RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
 0 = <userdata>
 UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
 SetScript = <function> defined @!BugGrabber/BugGrabber.lua:491
}
event = "ADDON_ACTION_FORBIDDEN"
events = <table> {
 ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:557
 ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:557
 PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:551
 LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:566
 ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:511
}

The CopyToClipboard() function is pretected and only usable by Blizzard Code As of your (BetterWardrobe) "Import/Export feature" is not working (just do nothing) it would be nice to not prevent any internal functions!

Without BetterWardrobe the "Copy to Clipboard" function works as intended.