BagSync

BagSync

3M Downloads

Bug when hovering over battle pets in the AH

DiscordGregory opened this issue ยท 3 comments

commented

Nothing special needs to be done, just go to the AH, select the BattlePets category then click search and mouseover the results

29x BagSync\wireframe\tooltip.lua:316: attempt to call method 'GetOwner' (a nil value)
[string "@BagSync\wireframe\tooltip.lua"]:316: in function TallyUnits' [string "@BagSync\wireframe\tooltip.lua"]:691: in function <BagSync\wireframe\tooltip.lua:686> [string "=[C]"]: ? [string "=[C]"]: in function BattlePetToolTip_Show'
[string "@FrameXML\BattlePetTooltip.lua"]:19: in function BattlePetToolTip_ShowLink' [string "@Blizzard_AuctionHouseUI\Blizzard_AuctionHouseUtil.lua"]:540: in function <...lizzard_AuctionHouseUI\Blizzard_AuctionHouseUtil.lua:527> [string "=[C]"]: in function SetAuctionHouseTooltip'
[string "@Blizzard_AuctionHouseUI\Blizzard_AuctionHouseUtil.lua"]:578: in function lineOnEnterCallback' [string "@Blizzard_AuctionHouseUI\Blizzard_AuctionHouseItemList.lua"]:176: in function OnEnterListLine'
[string "@Blizzard_AuctionHouseUI\Blizzard_AuctionHouseItemList.lua"]:21: in function `OnLineEnter'
[string "@SharedXML\TableBuilder.lua"]:42: in function <SharedXML\TableBuilder.lua:41>

Locals:
self =

{
ItemCount = defined @BagSync\wireframe\tooltip.lua:291
HexColor = defined @BagSync\wireframe\tooltip.lua:34
Enable = defined @!KalielsTracker\Libs\AceAddon-3.0\AceAddon-3.0.lua:294
NewModule = defined @!KalielsTracker\Libs\AceAddon-3.0\AceAddon-3.0.lua:235
EnableModule = defined @!KalielsTracker\Libs\AceAddon-3.0\AceAddon-3.0.lua:332
modules =
{
}
GetModule = defined @!KalielsTracker\Libs\AceAddon-3.0\AceAddon-3.0.lua:210
IterateEmbeds = defined @!KalielsTracker\Libs\AceAddon-3.0\AceAddon-3.0.lua:442
defaultModuleLibraries =
{
}
UnitTotals = defined @BagSync\wireframe\tooltip.lua:248
SetDefaultModulePrototype = defined @!KalielsTracker\Libs\AceAddon-3.0\AceAddon-3.0.lua:409
name = "BagSync_Tooltip"
IsEnabled = defined @!KalielsTracker\Libs\AceAddon-3.0\AceAddon-3.0.lua:451
orderedModules =
{
}
DisableModule = defined @!KalielsTracker\Libs\AceAddon-3.0\AceAddon-3.0.lua:350
ColorizeUnit = defined @BagSync\wireframe\tooltip.lua:54
TallyUnits = defined @BagSync\wireframe\tooltip.lua:309
GetSortIndex = defined @BagSync\wireframe\tooltip.lua:41
SetDefaultModuleState = defined @!KalielsTracker\Libs\AceAddon-3.0\AceAddon-3.0.lua:387
HookTooltip = defined @BagSync\wireframe\tooltip.lua:553
SetEnabledState = defined @!KalielsTracker\Libs\AceAddon-3.0\AceAddon-3.0.lua:424
enabledState = true
__lastTally =
{
}
baseName = "BagSync"
OnEnable = defined @BagSync\wireframe\tooltip.lua:724
HookBattlePetTooltip = defined @BagSync\wireframe\tooltip.lua:681
SetDefaultModuleLibraries = defined @!KalielsTracker\Libs\AceAddon-3.0\AceAddon-3.0.lua:367
CurrencyTooltip = defined @BagSync\wireframe\tooltip.lua:511
IterateModules = defined @!KalielsTracker\Libs\AceAddon-3.0\AceAddon-3.0.lua:437
IsModule = defined @!KalielsTracker\Libs\AceAddon-3.0\AceAddon-3.0.lua:217
MoneyTooltip = defined @BagSync\wireframe\tooltip.lua:175
GetName = defined @!KalielsTracker\Libs\AceAddon-3.0\AceAddon-3.0.lua:279
moduleName = "Tooltip"
defaultModuleState = true
Disable = defined @!KalielsTracker\Libs\AceAddon-3.0\AceAddon-3.0.lua:314
}
objTooltip = BattlePetTooltip {
0 =
linePool =
{
}
BorderBottomLeft = {
}
Owned = {
}
AddLine = defined @FrameXML\FloatingPetBattleTooltip.lua:124
Speed = {
}
textLineAnchor = {
}
SpeedTexture = {
}
Background = {
}
HealthTexture = {
}
speciesID = 2916
__tooltipUpdated = false
BorderTop = {
}
PetType = {
}
BorderTopLeft = {
}
BorderTopRight = {
}
BorderLeft = {
}
Power = {
}
PowerTexture = {
}
PetTypeTexture = {
}
BattlePet = {
}
Name = {
}
Health = {
}
Level = {
}
BorderBottom = {
}
BorderBottomRight = {
}
BorderRight = {
}
}
link = "10308829066;1;2;2916"
source = "BattlePetToolTip_Show"
isBattlePet = true
(*temporary) = nil
(*temporary) = BattlePetTooltip {
0 =
linePool =
{
}
BorderBottomLeft = {
}
Owned = {
}
AddLine = defined @FrameXML\FloatingPetBattleTooltip.lua:124
Speed = {
}
textLineAnchor = {
}
SpeedTexture = {
}
Ba

commented

I can't seem to replicate this error at all. It works absolutely fine for me. I added a check for that null function regardless.

commented

image

See works fine... no error.

commented

I'll take a look into this when I have some time. I've been so busy as of late I haven't had time to even login.