Closed Gethe closed 8 years ago
Well, I make no promises as to when this will get fixed, since I find Twitter absolutely useless and have no intention of ever using it in-game or anywhere else, but I'll at least take a look after 6.1 goes live this week.
Getting the same error, got this stack:
1x ...rface\Blizzard_SocialUI\Blizzard_SocialUI-1.0.lua:114: Attempt to access forbidden object from code tainted by an AddOn
[C]:: in function 'Show'
...rface\Blizzard_SocialUI\Blizzard_SocialUI-1.0.lua:114: in function 'SocialPostFrame_ShowItem'
FrameXML\ItemRef.lua:259: in function <FrameXML\ItemRef.lua:1>
(tail call): ?
...ace\Blizzard_CombatLog\Blizzard_CombatLog.lua:3602: in function 'SetItemRef'
FrameXML\ChatFrame.lua:3374: in function <FrameXML\ChatFrame.lua:3373>
(tail call): ?
[C]:: in function 'ChatFrame_OnHyperlinkShow'
PhanxChat\Modules\LinkURLs.lua:58: in function 'ChatFrame_OnHyperlinkShow'
[string "*:OnHyperlinkClick"]:1: in function <[string "*:OnHyperlinkClick"]:1>
[C]:: ?
Locals:
itemID = "35573"
creationContext = "dungeon-normal"
earned = true
Would love to use this functionality if you wouldn't mind fixing it :)
It'll be fixed eventually. More comments will not affect how quickly it gets fixed, so unless you can provide a patch, there's no need to keep posting "me too" comments.
I figured as much, but the goal was more to provide (what might be) additional info for persons who wanted to take a stab at fixing it :)
Prat had the same issue... here is their solution. Not Apples to Apples to PhanxChat, but might point to a work around. Rather use PhanxChat since it is lightweight.
Updated 2015-02-28: Solution works
I had the same issue in my own addon(s) dealing with custom weblinks (LinksInChat + IfThen).
However; i think i found a solution that works based on a DBM crash i saw. DBM handles this by pre-hooking the ItemRefTooltip:SetHyperlink() function and basically making it ignore their own "DBM:" type hyperlinks. Source: (DBM-Core.lua:2031)
In my own workaround i did this:
Pre-hook ItemRefTooltip:SetHyperlink(). Make it return nil if the hyperlink type matches what i use in my addon. Use a hooksecurefunc("ChatFrame_OnHyperlinkShow"... This way the path from ChatFrame_OnHyperlinkClick to the Blizzard_SocialUI is not tainted.
I got this error on the PTR when clicking on a twitter screenshot link.
Here is the taint log stack: