Skip to content

Bug: No Guild Lua Error #52

Description

@tance77

When not in a guild and you hover over Socialite this error appears in chat:

Socialite: error: bad argument #1 to '?' (Usage: local result = Ambiguate(fullName, context))
``

```lua
10x bad argument #1 to '?' (Usage: local result = Ambiguate(fullName, context))
[Socialite/Socialite.lua]:183: in function 'updateTooltip'
[Socialite/Socialite.lua]:95: in function 'OnEnter'
[Titan/TitanLDB.lua]:163: in function <Titan/TitanLDB.lua:157>


Locals:
self=<table>{
 tooltip=<table>
 optionsFrame=40
 dataobj=<table>
 frame=Frame <Socialite.lua:32>
 db=<table>
 L=<table>
}
frame=TitanPanelSocialiteButton <TitanLDB.lua:534>{
 TitanAction="None"
 TitanName="Socialite"
 ldb_obj=<table>
 registry=<table>
 TitanCreatedBy="LDB"
}
ok=false
message="bad argument #1 to '?' (Usage: local result = Ambiguate(fullName, context))"
addon=<table>{
 tooltip=<table>
 optionsFrame=40
 dataobj=<table>
 frame=Frame <Socialite.lua:32>
 db=<table>
 L=<table>
}
L=<table>{
 MENU_INTERACTION_NEVER_DESCRIPTION="MENU_INTERACTION_NEVER_DESCRIPTION"
 MENU_GUILD_SORT_NAME_DESCRIPTION="Sort by guild member name"
 MENU_GUILD_SORT="Sort by"
 Guild Members="Guild Members"
 Character Friends="Character Friends"
 MENU_STATUS_ICON_DESCRIPTION="When selected, the friend's status will be displayed by an icon, such as |TInterface\FriendsFrame\StatusIcon-DnD:0|t"
 MENU_STATUS_NONE_DESCRIPTION="When selected, the friend's status will not be displayed."
 MENU_STATUS_NONE="None"
 ShowRealIDNotesDescription="Show your friends' note"
 ShowRealIDBroadcasts="Show broadcasts/toasts"
 TOOLTIP_REMOTE_CHAT="Remote Chat"
 ShowRealIDAppDescription="If enabled, show all Battle.net friends, regardless of in-game status."
 ShowGuildLabel="Show guild label"
 MENU_STATUS="Show status as"
 ShowRealIDDescription="Show friends in the data text and tooltip."
 ShowFriendsNote="Show friend note"
 DisableUsageText="Disable usage text"
 MENU_GUILD_SORT_LEVEL="Level"
 TOOLTIP_FRIENDS="Friends Online"
 ShowRealIDFactionsDescription="Show the faction of your Battle.net friends"
 Show minimap button="Show minimap button"
 TOOLTIP="Social"
 ShowGuildLabelDescription="If enabled, the data text will be prefixed with the guild name."
 Battle.net Friends="Battle.net Friends"
 ShowRealIDBroadcastsDescription="Show Battle.net friend broadcasts in the tooltip."
 MENU_STATUS_ICON="Icon"
 MENU_GUILD_SORT_NOTE_DESCRIPTION="Sort by guild member note"
 GuildSort="Custom Sort"
 ShowLabelDescription="If enabled, the addon label (or guild name, if enabled) will be shown in the data text."
 ShowGuildONote="Show officer note"
 DisableUsageTextDescription="If checked, the usage instructions will not be shown on the tooltip."
 ShowStatus="ShowStatus"
 Socialite="Socialite"
 MENU_STATUS_TEXT_DESCRIPTION="When selected, the friend's status will be indicated by a text string, such as <Away>"
 ShowLabel="Show label"
 ShowSplitRemoteChatDescription="If enabled, guild members utilizing the remote chat feature will be displayed separately within the data text and tooltip."
 GuildSortAscendingDescription="Sort in ascending (1..9 or A...Z) order"
 ShowRealID="Show friends"
 MENU_INTERACTION_ALWAYS_DESCRIPTION="MENU_INTERACTION_ALWAYS_DESCRIPTION"
 ShowGroupMembers="Show Group Members"
 TOOLTIP_GUILD="Guild Members Online"
 GuildSortKey="GuildSortKey"
 ShowSplitRemoteChat="Separate remote chat"
 GuildSortAscending="Ascending"
 usageDescription="Left-click to view social panes. Alt+Click to invite. Right-click to configure."
 TOOLTIP_REALID_APP="Battle.net Friends in App"
 MENU_INTERACTION="Tooltip interaction"
 TOOLTIP_REALID="Battle.net Friends Online"
 Display Settings="Display Settings"
 MENU_GUILD_SORT_ZONE_DESCRIPTION="Sort by guild member zone/login date"
 ShowFriends="Show friends"
 MENU_INTERACTION_ALWAYS="Always"
 MENU_STATUS_TEXT="Text"
 MENU_INTERACTION_DESCRIPTION="When should the tooltip be interactable?"
 ShowGuildDescription="If enabled, display guild members on the tooltip."
 ShowGuild="Show guild members"
 Guild Sorting="Guild Sorting"
 showInAddonCompartmentDescription="Toggles the display of Socialite within the addon compartment."
 MENU_GUILD_SORT_NOTE="Note"
 ShowRealIDApp="Show non-playing friends"
 MENU_GUILD_SORT_CLASS="Class"
 Data text="Data text"
 MENU_GUILD_SORT_RANK_DESCRIPTION="Sort by guild member rank"
 TooltipInteraction="TooltipInteraction"
 MENU_GUILD_SORT_RANK="Rank"
 MENU_GUILD_SORT_NAME="Name"
 ShowGuildNoteDescription="If enabled, the guild member's public note will be displayed in the tooltip."
 MENU_STATUS_DESCRIPTION="Show frie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions