Error on showing censored message
Dairyman opened this issue · 3 comments
Describe the bug
2x FrameXML/ItemRef.lua:378: attempt to call local 'MessageFormatter' (a nil value)
[string "=[C]"]: ?
[string "@SharedXML/ScrollingMessageFrame.lua"]:93: in function <SharedXML/ScrollingMessageFrame.lua:92>
[string "=[C]"]: ?
[string "@SharedXML/CircularBuffer.lua"]:12: in function <SharedXML/CircularBuffer.lua:6>
[string "@SharedXML/CircularBuffer.lua"]:104: in function `TransformIf'
[string "@SharedXML/ScrollingMessageFrame.lua"]:96: in function <SharedXML/ScrollingMessageFrame.lua:87>
[string "=[C]"]: in function `TransformMessages'
[string "@FrameXML/ItemRef.lua"]:395: in function `func'
[string "@FrameXML/ChatFrame.lua"]:29: in function `ForEachChatFrame'
[string "@FrameXML/ItemRef.lua"]:394: in function <FrameXML/ItemRef.lua:7>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@Blizzard_CombatLog/Blizzard_CombatLog.lua"]:3535: in function <...aceBlizzard_CombatLog/Blizzard_CombatLog.lua:3476>
[string "=[C]"]: in function `SetItemRef'
[string "@FrameXML/ChatFrame.lua"]:4070: in function `ChatFrame_OnHyperlinkShow'
[string "*ChatFrame.xml:23_OnHyperlinkClick"]:1: in function <[string "*ChatFrame.xml:23_OnHyperlinkClick"]:1>
Locals:
(*temporary) = "|cffffffff|Hpratcopy|h[16:51:06]|h|r|cffff7f3fDie Nachricht von PlayName-Realm ist möglicherweise anstößig.|h|cffffff00|Hcensoredmessage:368|h |W[Nachricht anzeigen]|w|h|r"
(*temporary) = 1
(*temporary) = 0.501961
(*temporary) = 1
(*temporary) = 8
(*temporary) = 44
(*temporary) = 45
(*temporary) = "CHAT_MSG_WHISPER"
(*temporary) = <table> {
1 = "|cffff7f3fDie Nachricht von PlayName-Realm ist möglicherweise anstößig.|h|cffffff00|Hcensoredmessage:368|h |W[Nachricht anzeigen]|w|h|r"
2 = "PlayName-Realm"
3 = ""
4 = ""
5 = "PlayName-Realm"
6 = ""
7 = 0
8 = 0
9 = ""
10 = 0
11 = 368
12 = "Player-0000-00000000"
13 = 0
14 = false
15 = false
16 = false
17 = false
n = 17
}
(*temporary) = <function> defined @FrameXML/ItemRef.lua:372
= <function> defined @FrameXML/ItemRef.lua:372
= <userdata>
Seems to miss a MessageFormatter
function here:
Lines 729 to 733 in b076cc1
local eventArgs;
if isChatLineCensored then
eventArgs = SafePack(...);
end
self:AddMessage(msg, info.r, info.g, info.b, info.id, accessID, typeID, event, eventArgs, MessageFormatter);
To Reproduce
- Get a Censored message
- Click on Show message
- Get this error
Expected behavior
Show uncensored message
Version Information (please complete the following information):
- Wow Version: 10.1.7@51536
- Prat Version: Prat 3.0 (3.9.40)