AdiBags icon indicating copy to clipboard operation
AdiBags copied to clipboard

Battle pet Chester make error.

Open Abyssian opened this issue 8 months ago • 2 comments

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.

error log.txt

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

Abyssian avatar May 08 '25 14:05 Abyssian

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.

Image

Abyssian avatar May 08 '25 14:05 Abyssian

I think this is a duplicate of #1024.

Wevah avatar May 15 '25 15:05 Wevah