WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   Error CopyToClipboard (https://www.wowinterface.com/forums/showthread.php?t=58406)

Saith90 11-24-20 10:03 AM

Error CopyToClipboard
 
Hi, im using the Addon FriendsGroup and always get in Error after clicking "copy character name" in chat.
Error: "CopyToClipboard()"

Any Idea? :/

taint.log >

Code:

11/24 16:57:41.634  Global variable UIDROPDOWNMENU_MENU_LEVEL tainted by FriendGroups - Interface\SharedXML\UIDropDownMenu.lua:927 ToggleDropDownMenu()
11/24 16:57:41.634      Interface\SharedXML\UIDropDownMenu.lua:172
11/24 16:57:41.634  Execution tainted by FriendGroups while reading UIDROPDOWNMENU_MENU_LEVEL - Interface\SharedXML\UIDropDownMenu.lua:851 UIDropDownMenu_GetSelectedID()
11/24 16:57:41.634      Interface\SharedXML\UIDropDownMenu.lua:533 UIDropDownMenu_AddButton()
11/24 16:57:41.634      Interface\FrameXML\UnitPopup.lua:835 UnitPopup_AddDropDownButton()
11/24 16:57:41.634      Interface\FrameXML\UnitPopup.lua:596
11/24 16:57:41.634      UnitPopup_ShowMenu()
11/24 16:57:41.634      Interface\FrameXML\FriendsFrame.lua:227 initFunction()
11/24 16:57:41.634      Interface\SharedXML\UIDropDownMenu.lua:78 UIDropDownMenu_Initialize()
11/24 16:57:41.634      Interface\SharedXML\UIDropDownMenu.lua:1055 ToggleDropDownMenu()
11/24 16:57:41.634      Interface\SharedXML\UIDropDownMenu.lua:172
11/24 16:57:41.634  Interface\SharedXML\UIDropDownMenu.lua:903 UIDropDownMenuButton_OnClick()
11/24 16:57:41.634  An action was blocked because of taint from FriendGroups - CopyToClipboard()
11/24 16:57:41.634      Interface\FrameXML\UnitPopup.lua:2066
11/24 16:57:41.634      func()
11/24 16:57:41.634      Interface\SharedXML\UIDropDownMenu.lua:905 UIDropDownMenuButton_OnClick()
11/24 16:57:41.634      DropDownList1Button11:OnClick()


Kanegasi 11-24-20 05:19 PM

The taint log is only for specific taint issues. You need to share the actual error you got while ingame.

As for the interaction between the addon and CopyToClipboard, that function is protected and can only be used by Blizzard's UI. This also seems to be related to a very common dropdown taint, especially since there's a copy to clipboard option in the dropdown that appears when clicking on players in chat.

Saith90 11-25-20 10:27 AM

Here is the error >

Code:

7x [ADDON_ACTION_FORBIDDEN] AddOn 'FriendGroups' tried to call the protected function 'CopyToClipboard()'.
[string "@!BugGrabber\BugGrabber.lua"]:519: in function <!BugGrabber\BugGrabber.lua:519>
[string "=[C]"]: in function `CopyToClipboard'
[string "@FrameXML\UnitPopup.lua"]:2066: in function <FrameXML\UnitPopup.lua:1735>
[string "=[C]"]: in function `func'
[string "@SharedXML\UIDropDownMenu.lua"]:905: in function `UIDropDownMenuButton_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>


Saith90 12-29-20 05:20 AM

anyone? :o


All times are GMT -6. The time now is 11:17 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI