Syndicator

Syndicator

2M Downloads

Error when mousing over icons while guildless

stako opened this issue ยท 1 comments

commented

Please include as much of the following information as possible to help me fix the bug:

Brief Description of Bug

Mousing over items in bags will trigger an error if the player is not in a guild.

Steps to Reproduce

Log onto a guildless character, open bags, mouse over various items.

Loaded Addons

Baganator, Syndicator

Back Trace (LUA Error Output)

Message: ...terface/AddOns/Syndicator/Tracking/ItemSummaries.lua:354: attempt to index field '?' (a nil value)
Time: Wed Aug 14 13:20:49 2024
Count: 3
Stack: ...terface/AddOns/Syndicator/Tracking/ItemSummaries.lua:354: attempt to index field '?' (a nil value)
[string "@Interface/AddOns/Syndicator/Tracking/ItemSummaries.lua"]:354: in function `GetTooltipInfo'
[string "@Interface/AddOns/Syndicator/Tracking/Tooltips.lua"]:63: in function `AddItemLines'
[string "@Interface/AddOns/Syndicator/Tracking/Main.lua"]:6: in function <Interface/AddOns/Syndicator/Tracking/Main.lua:5>
[string "@Interface/AddOns/Syndicator/Tracking/Main.lua"]:155: in function <Interface/AddOns/Syndicator/Tracking/Main.lua:149>
[string "=[C]"]: ?
[string "=[C]"]: in function `SetBagItem'
[string "@Interface/AddOns/Blizzard_UIPanels_Game/Classic/ContainerFrame_Shared.lua"]:1426: in function `ContainerFrameItemButton_OnEnter'
[string "@Interface/AddOns/Baganator/ItemViewCommon/ItemButton.lua"]:1041: in function <...rface/AddOns/Baganator/ItemViewCommon/ItemButton.lua:1035>

Locals: self = Frame {
 0 = <userdata>
 Cleanup = <function> defined @Interface/AddOns/Syndicator/Tracking/ItemSummaries.lua:63
 GenerateWarbandSummary = <function> defined @Interface/AddOns/Syndicator/Tracking/ItemSummaries.lua:243
 OnLoad = <function> defined @Interface/AddOns/Syndicator/Tracking/ItemSummaries.lua:8
 GetTooltipInfo = <function> defined @Interface/AddOns/Syndicator/Tracking/ItemSummaries.lua:263
 WarbandCacheUpdate = <function> defined @Interface/AddOns/Syndicator/Tracking/ItemSummaries.lua:84
 SV = <table> {
 }
 GenerateGuildSummary = <function> defined @Interface/AddOns/Syndicator/Tracking/ItemSummaries.lua:211
 GenerateCharacterSummary = <function> defined @Interface/AddOns/Syndicator/Tracking/ItemSummaries.lua:92
 CharacterCacheUpdate = <function> defined @Interface/AddOns/Syndicator/Tracking/ItemSummaries.lua:80
 GuildCacheUpdate = <function> defined @Interface/AddOns/Syndicator/Tracking/ItemSummaries.lua:88
}
key = "item:58256"
sameConnectedRealm = true
sameFaction = false
realms = <table> {
 Grobbulus = true
}
result = <table> {
 characters = <table> {
 }
 guilds = <table> {
 }
 warband = <table> {
 }
}
currentFaction = "Horde"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = <table> {
 Grobbulus = true
}
(*temporary) = nil
(*temporary) = <table> {
 Redacted = <table> {
 }
}
(*temporary) = "Redacted"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = <table> {
 class = 5
 hidden = false
 realmNormalized = "Grobbulus"
 character = "Redacted"
 className = "PRIEST"
 sex = 3
 race = "Scourge"
 faction = "Horde"
 realm = "Grobbulus"
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = <table> {
 1 = <table> {
 }
}
(*temporary) = <table> {
 bags = 5
 auctions = 0
 realmNormalized = "Grobbulus"
 void = 0
 character = "Redacted"
 sex = 3
 className = "PRIEST"
 mail = 0
 race = "Scourge"
 equipped = 0
 bank = 0
}
(*temporary) = 0
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
commented

This is fixed in version 101