WIM (WoW Instant Messenger) v3

17M Downloads

Right clicking the other players name in the history context of a chat throws an error

hrlmartins opened this issue ยท 0 comments

commented

Describe the bug
When right-clicking the name of the player I was chatting with in the history context (after a relog, or reload and text is greyed out) it throws an error.

Addon Version
3.12.1

To Reproduce
Steps to reproduce the behavior:

  1. Open chat with friend
  2. Wait for some reply
  3. reload/relog
  4. Open chat window with same friend
  5. Try and right-click on friends name from history text it shows (no need to message friend again)
  6. See error

Expected behavior
Not sure, but at least not throw any error. Not sure if it was supposed to show the right click menu in this context :D

Additional context
Providing the stacktrace:

31x bad argument #1 to '?' (outside of expected range 0 to 4294967295 - Usage: local isValid = C_ChatInfo.IsValidChatLine([chatLine]))
[string "=[C]"]: in function `IsValidChatLine'
[string "@Blizzard_UnitPopup/Mainline/UnitPopupUtils.lua"]:52: in function `TryCreatePlayerLocation'
[string "@Blizzard_UnitPopupShared/UnitPopupShared.lua"]:54: in function `OpenMenu'
[string "@Blizzard_UnitPopupShared/UnitPopupShared.lua"]:132: in function `UnitPopup_OpenMenu'
[string "@Blizzard_FriendsFrame/Mainline/FriendsFrame.lua"]:194: in function `FriendsFrame_ShowDropdown'
[string "@Blizzard_UIPanels_Game/Mainline/ItemRef.lua"]:64: in function <...eBlizzard_UIPanels_Game/Mainline/ItemRef.lua:7>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@Blizzard_CombatLog/Mainline/Blizzard_CombatLog.lua"]:3488: in function `SetItemRef'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:4192: in function `ChatFrame_OnHyperlinkShow'
[string "@WIM/Sources/WindowHandler.lua"]:2033: in function `fun'
[string "@WIM/Sources/WindowHandler.lua"]:437: in function <WIM/Sources/WindowHandler.lua:429>
[string "@WIM/Sources/WindowHandler.lua"]:753: in function <WIM/Sources/WindowHandler.lua:753>

Locals:
(*temporary) = "bad argument #1 to '?' (outside of expected range 0 to 4294967295 - Usage: local isValid = C_ChatInfo.IsValidChatLine([chatLine]))"