Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hrlmartins opened this issue Jul 27, 2024 · 0 comments

Comments

@hrlmartins
Copy link

hrlmartins commented Jul 27, 2024

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]))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant