Journalator

Journalator

145k Downloads

Bug while selling items to NPCs

Rezy942 opened this issue ยท 2 comments

commented

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 function UpdateCursorItem'
[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
}

commented

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

Do you use a bag addon?

commented

Yes indeed, Bagnon!