TipTac Reborn

TipTac Reborn

1M Downloads

[WotLKC] Error when mousing over pets in pet journal

entroscopy opened this issue ยท 2 comments

commented

Mousing over pets in the new Pet Journal throws LUA errors.

Steps to reproduce the behavior:

  1. Open Pet Journal
  2. Mouse over a pet you have in your collection
  3. See error

Expected behavior:
No errors thrown.

TipTac Reborn:

  • Version 23.10.15

WoW:

  • Flavor: WotLKC
  • Version 3.4.3
Date: 2023-10-22 19:32:40
ID: 1
Error occured in: Global
Count: 84
Message: Interface/AddOns/TipTacItemRef/ttItemRef.lua line 683:
   attempt to call field 'GetPetStats' (a nil value)
Debug:
   [string "@Interface/AddOns/TipTacItemRef/ttItemRef.lua"]:683:
      Interface/AddOns/TipTacItemRef/ttItemRef.lua:679
   [string "=[C]"]: SetCompanionPet()
   [string "@Interface/AddOns/Blizzard_Collections/Blizzard_PetCollection.lua"]:352:
      ...dOns/Blizzard_Collections/Blizzard_PetCollection.lua:345
Locals:
self = GameTooltip {
 0 = <userdata>
 ttWorkaroundForFirstMouseoverStatus = 0
 GetBackdropColor = <function> defined @Interface/SharedXML/Backdrop.lua:390
 SetHyperlink = <function> defined =[C]:-1
 SetUnit = <function> defined =[C]:-1
 RightEdge = Texture {
 }
 ClearBackdrop = <function> defined =[C]:-1
 SetPetAction = <function> defined =[C]:-1
 SetLFGDungeonReward = <function> defined =[C]:-1
 FadeOut = <function> defined =[C]:-1
 SetQuestCurrency = <function> defined =[C]:-1
 SetCurrencyTokenByID = <function> defined =[C]:-1
 SetupTextureCoordinates = <function> defined @Interface/SharedXML/Backdrop.lua:214
 BottomOverlay = Texture {
 }
 ttIcon = Texture {
 }
 GetEdgeSize = <function> defined @Interface/SharedXML/Backdrop.lua:188
 NineSlice = Frame {
 }
 SetCompanionPet = <function> defined =[C]:-1
 TopEdge = Texture {
 }
 ttCount = FontString {
 }
 TooltipBackdropOnLoad = <function> defined @Interface/SharedXML/SharedTooltipTemplates.lua:271
 SetAction = <function> defined =[C]:-1
 SetBackdropColor = <function> defined =[C]:-1
 LeftEdge = Texture {
 }
 ttSetIconTextureAndText = <function> defined @Interface/AddOns/TipTacItemRef/ttItemRef.lua:318
 SetSpellBookItem = <function> defined =[C]:-1
 SetCurrencyToken = <function> defined =[C]:-1
 SetBackdropBorderColor = <function> defined =[C]:-1
 SetOwner = <function> defined =[C]:-1
 ApplyBackdrop = <function> defined =[C]:-1
 SetBackdrop = <function> defined =[C]:-1
 TopOverlay = Texture {
 }
 GetBackdropBorderColor = <function> defined @Interface/SharedXML/Backdrop.lua:409
 GetBackdrop = <function> defined @Interface/SharedXML/Backdrop.lua:347
 SetUnitDebuff = <function> defined =[C]:-1
 SetQuestItem = <function> defined =[C]:-1
 SetMountBySpellID = <function> defined =[C]:-1
 SetBorderBlendMode = <function> defined @Interface/SharedXML/Backdrop.lua:266
 SetToyByItemID = <function> defined =[C]:-1
 shoppingTooltips = <table> {
 }
 SetLFGDungeonShortageReward = <function> defined =[C]:-1
 SetQuestLogItem = <function> defined =[C]:-1
 OnBackdropSizeChanged = <function> defined @Interface/SharedXML/Backdrop.lua:182
 SetUnitBuff = <function> defined =[C]:-1
 backdropInfo = <table> {
 }
 BottomLeftCorner = Texture {
 }
 OnBackdropLoaded = <function> defined @Interface/SharedXML/Backdrop.lua:152
 TopRightCorner = Texture {
 }
 HasBackdropInfo = <function> defined @Interface/SharedXML/Backdrop.lua:278
 TopLeftCorner = Texture {
 }
 updateTooltip = 0.034000
 comparing = false
 SetUnitAura = <function> defined =[C]:-1
 canAddRestStateLine = 1
 BottomEdge = Texture {
 }
 Center = Texture {
 }
 needsReset = true
 SetupPieceVisuals = <function> defined @Interface/SharedXML/Backdrop.lua:246
 SetQuestLogCurrency = <function> defined =[C]:-1
 BottomRightCorner = Texture {
 }
}
petID = "BattlePet-0-00000017E1E7"
speciesID = 216
customName = nil
level = 1
xp = 0
maxXp = 1
displayID = 28948
isFavorite = false
name = "Argent Gruntling"
icon = 236689
petType = 11
creatureID = 33239
tooltipSource = ""
tooltipDescription = ""
isWild = false
canBattle = false
isTradeable = false
isUnique = false
obtainable = true
(*temporary) = nil
(*temporary) = "BattlePet-0-00000017E1E7"
(*temporary) = "attempt to call field 'GetPetStats' (a nil value)"
cfg = <table> {
 nameType = "title"
 colorReactText6 = <table> {
 }
 showRealm = "show"
 classification_elite = "+%s "
 showMount = false
 showMountCollected = false
 showMountText = false
 colorReactText9 = <table> {
 }
 showAuraCooldown = false
 colorSameGuild = <table> {
 }
 showDebuffs = false
 powerBarText = "none"
 healthBarClassColor = false
 t_showTalentText = false
 colorReactText5 = <table> {
 }
 classification_rare = "%s|r (Rare) "
 enableChatHoverTips = true
 colorGuildByReaction = false
 left = 1403.037109
 colorGuild = <table> {
 }
 classification_trivial = "~%s "
 colorReactText10 = <table> {
 }
 top = 24
 gradientTip = false
 colorReactText8 = <table> {
 }
 t_colorTalentTextByClass = false
 showCurrentUnitSpeed = false
 t_showTalentIcon = false
 iconFaction = false
 hideWorldTips = true
 reactIcon = false
 t_showTalents = false
 showTarget 
AddOns:
  Swatter, v3.4.6977 (SwimmingSeadragon)
  Stubby, v3.4.6920 (SwimmingSeadragon)
  TipTac, v23.10.15
  TipTacItemRef, v23.10.15
  TipTacTalents, v23.10.15
  BlizRuntimeLib v3.4.3.51739(EU) <enUS>
  (ck=c4)
commented

Thanks for reporting this! ๐Ÿ‘

Will be fixed with the next release.

commented

Great! Thanks for all your hard work on this addon.