Battle pet Chester make error.
Addon Version
1.10.29
World of Warcraft Version
Retail
Describe the bug
The battle pet Chester in my inventory causes this error, and the inventory only shows a few items. ChatGPT immediately pointed out that the error is caused by the pet.
Steps to reproduce
Answer from Chat GPT:
The error occurs due to incorrect usage of the GetPetInfoBySpeciesID(speciesID) function in the ContainerFrame.lua file of the AdiBags addon. Specifically:
css Usage: GetPetInfoBySpeciesID(speciesID) This means the addon is passing an invalid argument to GetPetInfoBySpeciesID — most likely not a number (the pet species ID), but a string like |Hbattlepet..., as seen in the logs:
lua speciesID = "|Hbattlepet" The GetPetInfoBySpeciesID function expects a numeric species ID, not a battle pet link like |Hbattlepet.
Verification
- [x] I have disabled all other addons and made sure this bug is triggered only with AdiBags enabled
After using the pet and putting it back into the cage, the inventory breaks again — it either shows the wrong tooltip for random items or doesn't show any item description at all.
In the screenshot, you can see an example of how the spring event bunny ears turned into Season 1 pants.
I think this is a duplicate of #1024.