Prat 3.0

619 - Error with Friend/Real ID/Battletag Whispers

What steps will reproduce the problem?
1. At first I thought it was happening because someone's battletag name was the same as their character name.  However, it actually seems to happen every single time I get a Real ID/Battletag whisper.  Also when I send one.

What is the expected output? What do you see instead?

I still see the whisper (and can send one), but I get this error (and this has been happening for me since patch 5.0.4):

Message: Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1350 attempt to call global 'BNTokenCombineGivenAndSurname' (a nil value)
Time: Fri Sep 21 16:58:41 2012
Count: 2
Stack: (tail call): ?
Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1350 in function `FormatPlayer'
Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1467 in function `?'
...rad\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147 in function <...rad\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147
[string "safecall Dispatcher[4]"]:4: in function <[string "safecall Dispatcher[4]"]:4>
[C]: ?
[string "safecall Dispatcher[4]"]:13: in function `?'
...rad\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92 in function `Fire'
Interface\AddOns\Prat-3.0\addon\addon.lua:632 in function <Interface\AddOns\Prat-3.0\addon\addon.lua:573
(tail call): ?
Interface\FrameXML\ChatFrame.lua:2741 in function `ChatFrame_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>
[C]: in function `BNSendWhisper'
Interface\FrameXML\ChatFrame.lua:4068 in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:4091 in function <Interface\FrameXML\ChatFrame.lua:4087
[C]: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals: No locals to dump

What version of the product are you using?

3.5

*IMPORTANT* -> Can you reproduce the problem when ONLY Prat is running?

Yes. I disabled all of my other addons and still get this error:

Message: Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1350 attempt to call global 'BNTokenCombineGivenAndSurname' (a nil value)
Time: Fri Sep 21 17:07:07 2012
Count: 2
Stack: Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1350 in function `FormatPlayer'
Interface\AddOns\Prat-3.0\modules\PlayerNames.lua:1467 in function `?'
...ibraries\CallbackHandler-1.0\CallbackHandler-1.0.lua:147 in function <...ibraries\CallbackHandler-1.0\CallbackHandler-1.0.lua:147
[string "safecall Dispatcher[4]"]:4: in function <[string "safecall Dispatcher[4]"]:4>
[C]: ?
[string "safecall Dispatcher[4]"]:13: in function `?'
...ibraries\CallbackHandler-1.0\CallbackHandler-1.0.lua:92 in function `Fire'
Interface\AddOns\Prat-3.0\addon\addon.lua:632 in function <Interface\AddOns\Prat-3.0\addon\addon.lua:573
(tail call): ?
Interface\FrameXML\ChatFrame.lua:2741 in function `ChatFrame_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>
[C]: in function `BNSendWhisper'
Interface\FrameXML\ChatFrame.lua:4068 in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:4091 in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals: <none>

Do you play on US or EU. What language do you use?

US.  English.

Do you have an error log of what happened?

I linked both above, one with other addons running and the second with JUST Prat running.

Please provide any additional information below.

Love the addon, but this was getting annoying and it had been a while since it started (with patch 5.0.4), so I thought I'd report it!

User When Change
slshimerdla Sep 21, 2012 at 23:09 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Last updated
Sep 29, 2012
Reported
Sep 21, 2012
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
6

Reported by

Possible assignees