BagSync

BagSync

3M Downloads

Error when Caging Battle Pets

Ravendwyr opened this issue ยท 2 comments

commented

Greetings!

Mists of Pandaria lunched last night (yay!) and I've been clearing out duplicate battle pets from my journal.

When caging a pet, I get the following error:

10x BagSync\BagSync-v6.7.4.lua:257: attempt to perform arithmetic on local "first" (a nil value)
BagSync\BagSync-v6.7.4.lua:257: in function <BagSync\BagSync.lua:250>
BagSync\BagSync-v6.7.4.lua:288: in function <BagSync\BagSync.lua:277>
BagSync\BagSync-v6.7.4.lua:372: in function <BagSync\BagSync.lua:340>
BagSync\BagSync-v6.7.4.lua:1303: in function "?"
BagSync\BagSync-v6.7.4.lua:88: in function <BagSync\BagSync.lua:86>

Locals:
bagname = "bag"
bagid = 0
slot = 4
index = "bag:0:4"
texture = "INTERFACE\ICONS\INV_GIZMO_06.BLP"
count = 1
GetTag = <func> @..\BagSync.lua:242
lastItem = nil
lastDisplayed = <table> {}
ToShortLink = <func> @..\BagSync.lua:250
}

The caged pet does go into my bags as it should but BagSync can't find it. The same error pops up on login with a caged battle pet in your bags.

Help!

commented

Thanks for the bug report. I'll take a look and see if I can reproduce and fix the issue.

commented

I put in a temporary fix until I can determine what exactly is going on. Right now I'm just trying to enjoy the expansion. Hope everyone understands ;)