Baganator

Baganator

1M Downloads

Addon breaks when caging a battle pet

Shinikeru opened this issue · 5 comments

commented

What version(s) of WoW are you using?

Retail

What version of Baganator?

527

What version of Syndicator?

140

What isn't working? What was supposed to happen?

I caged a battle pet but the cage does not appear in my inventory, there is one less free bag slot but no extra icon nor does searching for either the name of the pet or for "pet cage" turn up any results.
After reloading ui the bag is completely without any icons at all, only the background shows.
image

Are you experiencing any lua errors

11x Baganator/API/ItemButton.lua:337: attempt to index a number value
[string "@Baganator/API/ItemButton.lua"]:337: in function cb' [string "@Baganator/ItemViewCommon/ItemButton.lua"]:102: in function callback'
[string "@Baganator/ItemViewCommon/ItemButton.lua"]:155: in function OnCached' [string "@Baganator/ItemViewCommon/ItemButton.lua"]:159: in function <...rfaceBaganator/ItemViewCommon/ItemButton.lua:133> [string "@Baganator/ItemViewCommon/ItemButton.lua"]:176: in function <...rfaceBaganator/ItemViewCommon/ItemButton.lua:167> [string "@Baganator/ItemViewCommon/ItemButton.lua"]:590: in function SetItemDetails'
[string "@Baganator/ItemViewCommon/Layouts.lua"]:961: in function ShowGroup' [string "@Baganator/CategoryViews/BagLayout.lua"]:399: in function Display'
[string "@Baganator/CategoryViews/BagLayout.lua"]:495: in function callback' [string "@Baganator/CategoryViews/CategorySort.lua"]:48: in function SortResults'
[string "@Baganator/CategoryViews/CategorySort.lua"]:31: in function ApplySorts' [string "@Baganator/CategoryViews/BagLayout.lua"]:488: in function callback'
...
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144: in function <...eBlizzard_SharedXMLBase/CallbackRegistry.lua:143>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function TriggerEvent' [string "@Baganator/ItemViewCommon/NewItemsTracking.lua"]:107: in function <Baganator/ItemViewCommon/NewItemsTracking.lua:78> [string "=[C]"]: ? [string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144: in function <...eBlizzard_SharedXMLBase/CallbackRegistry.lua:143> [string "=[C]"]: ? [string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function TriggerEvent'
[string "@Syndicator/Tracking/BagCache.lua"]:302: in function `FireBagChange'
[string "@Syndicator/Tracking/BagCache.lua"]:410: in function <Syndicator/Tracking/BagCache.lua:285>

Locals:
Breed = FontString {
added = true
sizeFont = true
}
details =

{
itemCount = 1
isUpgrade = false
isJunk = false
itemLocation =
{
}
hasNoValue = true
itemID = 82800
isBound = false
persistIconGrey = false
itemLink = "|cff0070dd|Hbattlepet:2832:1:3:157:13:10:0000000000000000:95141|h[Muar]|h|r"
quality = 3
}
speciesID = 2832
level = 1
rarity = 3
maxHealth = 157
power = 13
speed = 10
breednum = 8
(*temporary) = 8
(*temporary) = 8
(*temporary) = 8
(*temporary) = 1
(*temporary) = 8
(*temporary) = 3
(*temporary) = "8"
(*temporary) = false
(*temporary) = "attempt to index a number value"
iconSettings =
{
boe_on_common = true
useQualityColors = true
markJunk = false
}
qualityColors =
{
0 =
{
}
7 =
{
}
1 =
{
}
2 =
{
}
4 =
{
}
8 =
{
}
5 =
{
}
3 =
{
}
6 =
{
}
}

Anything else?

Thanks for a great addon!

commented

Are you on the latest version of Battle Pet Breed ID?

commented

Yes, v1.31.2

commented

Thanks. I've identified the issue. Baganator expected the P/S style breed format, but it was configured to be the numbers in the Battle Pet Breed ID addon, I've changed it so that both now work with Baganator's corner widget.

commented

Fix available in v529, out shortly

commented

Awesome, thank you very much!