Auctionator / Journalator

World of Warcraft addon. Keep track of your gold making on the AH, crafting orders and with vendors
https://www.curseforge.com/wow/addons/journalator
MIT License
10 stars 6 forks source link

Bug while selling items to NPCs #55

Closed ghost closed 1 year ago

ghost commented 1 year ago

Got this bug while selling random items, not sure how to recreate, hope it gives you a hint at least

12x ...ceJournalator/Source/Monitor/VendorItems.lua:14: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation)) [string "=[C]"]: in function DoesItemExist' [string "@Journalator/Source/Monitor/VendorItems.lua"]:14: in function <...ceJournalator/Source/Monitor/VendorItems.lua:13> [string "@Journalator/Source/Monitor/VendorItems.lua"]:253: in functionUpdateCursorItem' [string "@Journalator/Source/Monitor/VendorItems.lua"]:188: in function <...ceJournalator/Source/Monitor/VendorItems.lua:187>

Locals: (*temporary) =

{ GetBagAndSlot = defined @FrameXML/ObjectAPI/ItemLocation.lua:42 IsBagAndSlot = defined @FrameXML/ObjectAPI/ItemLocation.lua:60 SetEquipmentSlot = defined @FrameXML/ObjectAPI/ItemLocation.lua:46 HasAnyLocation = defined @FrameXML/ObjectAPI/ItemLocation.lua:64 Clear = defined @FrameXML/ObjectAPI/ItemLocation.lua:29 IsEquipmentSlot = defined @FrameXML/ObjectAPI/ItemLocation.lua:56 IsEqualToBagAndSlot = defined @FrameXML/ObjectAPI/ItemLocation.lua:72 SetBagAndSlot = defined @FrameXML/ObjectAPI/ItemLocation.lua:35 IsEqualTo = defined @FrameXML/ObjectAPI/ItemLocation.lua:88 GetEquipmentSlot = defined @FrameXML/ObjectAPI/ItemLocation.lua:52 IsEqualToEquipmentSlot = defined @FrameXML/ObjectAPI/ItemLocation.lua:80 IsValid = defined @FrameXML/ObjectAPI/ItemLocation.lua:68 }

plusmouse commented 1 year ago

Had a look. Seems that a Blizzard API returned a value that another Blizzard API disliked.

Do you use a bag addon?

ghost commented 1 year ago

Yes indeed, Bagnon!