Error on paste
Machou opened this issue · 2 comments
hello :)
When i paste this:
/cleartarget
/tar Apothicaire damné
/tar Forgerune squelette
/tar Brute ombreuse
/cleartarget [dead]
/stopmacro [noexists]
/script SetRaidTarget("target", 2);
/lancer Lancer de shuriken
Recette : Potion de protection contre le Feu puissante
https://www.wowhead.com/fr/item=44565
/way #118 57.6 74.0 Forgerune squelette
/way #118 58.0 70.8 Forgerune squelette
/way #118 58.8 73.2 Forgerune squelette
/way #118 59.0 73.6 Forgerune squelette
/way #118 59.6 73.6 Forgerune squelette
/way #118 57.6 74.6 Forgerune squelette
/way #118 57.8 73.8 Forgerune squelette
/way #118 58.0 70.8 Forgerune squelette
/way #118 58.6 74.4 Forgerune squelette
/way #118 59.2 73.2 Forgerune squelette
/way #118 58.0 70.8 Brute ombreuse
/way #118 58.4 74.0 Brute ombreuse
/way #118 58.8 73.2 Brute ombreuse
/way #118 59.0 73.8 Brute ombreuse
/way #118 59.6 73.8 Brute ombreuse
Recette : Potion de protection contre le Givre puissante
https://www.wowhead.com/fr/item=44566
/way #118 49.0 33.2 Apothicaire damné
/way #118 49.0 33.8 Apothicaire damné
/way #118 49.2 31.8 Apothicaire damné
/way #118 49.4 34.6 Apothicaire damné
/way #118 49.6 34.2 Apothicaire damné
/way #118 49.6 34.6 Apothicaire damné
/way #118 49.8 32.4 Apothicaire damné
/way #118 49.8 32.6 Apothicaire damné
i have this error:
Date: 2024-09-22 19:57:13
ID: 1
Error occured in: AddOn: PasteNG
Count: 1
Message: Error: AddOn PasteNG attempted to call a forbidden function (ClearTarget()) from a tainted execution path.
Debug:
[string "=[C]"]: ClearTarget()
[string "@Interface/AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:1459: ?()
[string "@Interface/AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5459:
...AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:5425
[string "=[C]"]: ChatEdit_ParseText()
[string "@Interface/AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5131:
...AddOns/Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:5130
[string "=[C]"]: ChatEdit_SendText()
[string "@Interface/AddOns/PasteNG/Modules/Dialog/DialogModule.lua"]:196: SendChatMessageWrapper()
[string "@Interface/AddOns/PasteNG/Modules/Dialog/DialogModule.lua"]:265:
...rface/AddOns/PasteNG/Modules/Dialog/DialogModule.lua:181
[string "@Interface/AddOns/PasteNG/Modules/Dialog/DialogModule.lua"]:327:
...rface/AddOns/PasteNG/Modules/Dialog/DialogModule.lua:325
Locals:
msg = ""
AddOns:
Swatter, v<%version%> (<%codename%>)
AllTheThings, v4.0.14
AnnoyingPopupRemover, vv22.1.0-release
Auctionator, v11.0.11
CanIMogIt, v11.0.2v2.4
ClassicQuestLog, v3.1.7
Collectionator, v1.21
Details, v#Details.13072.161
DetailsCompare2, v
DetailsEncounterDetails, v
DetailsRaidCheck, v
DetailsStreamer, v
DetailsTinyThreat, v
DetailsVanguard, v
GTFO, v5.12.3
HandyNotes, vv1.6.21
HandyNotesDornogal, vv3
HandyNotesDragonflightTreasures, vv63
HandyNotesShadowlandsTreasures, vv81
HandyNotesTreasureHunter, vv37
HandyNotesWarWithin, vv63
ManuscriptsJournal, v11.0-005
MountJournalEnhanced, v2.41.0
NPCTime, v1.0.23
PasteNG, v11.0.2-20240921-2
Prat30, v3.9.58
RareScanner, v11.0.2.16
Rarity, v1.0 (r736-release)
Rematch, v5.2.4
SilverDragon, vv2024.24
SilverDragonHistory, vv2024.24
SilverDragonOverlay, vv2024.24
SilverDragonRangeExtender, vv2024.24
TargetPercent, vv10.2.6
TomeOfTeleportation, v
TomTom, vv4.0.3-release
WeakAuras, v5.17.1
WeakAurasArchive, v5.17.1
WorldQuestsList, v113
WorldQuestTracker, vv11.0.2.520-Retail
WQAchievements, vv11.0.2-4
BlizRuntimeLib v11.0.2.56647(EU) <frFR>
(ck=496)
I just tested, and it happens on my machine as well.
Compared it with the version before the rewrite - same happens there, so at least it isn't a new issue with the rewrite.
The problem is that calling ClearTarget from an addon (even if it is just pasting it into the chatbox), is a protected action, which we cannot do.
So while it is an issue, it is something we cannot really do anything about (Unless someone finds a way to work around the protection Blizzard has set up, which I'm not really tempted to try to do 🙂)