anhility / BestInSlotRedux

A fork and continuation of the BestInSlot WoW addon.
MIT License
2 stars 15 forks source link

Custom item LUA error #17

Closed Meivyn closed 6 years ago

Meivyn commented 6 years ago

Just got this LUA error after adding a custom item and choosing it in BiS:

10x BestInSlotRedux\Frames\CustomItems.lua:153: attempt to index field 'inputbox' (a nil value)
BestInSlotRedux\Frames\CustomItems.lua:153: in function `DisableInput'
BestInSlotRedux\Frames\CustomItems.lua:266: in function `TryGenerateCustomItem'
BestInSlotRedux\Frames\CustomItems.lua:69: in function `func'
BestInSlotRedux\BestInSlotEvent.lua:70: in function `SendEvent'
BestInSlotRedux\Core.lua:491: in function <BestInSlotRedux\Core.lua:491>
[string "safecall Dispatcher[2]"]:4: in function <[string "safecall Dispatcher[2]"]:4>
[C]: ?
[string "safecall Dispatcher[2]"]:13: in function `?'
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:90: in function `Fire'
Ace3\AceEvent-3.0\AceEvent-3.0-4.lua:120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>

Locals:
nil
Meivyn commented 6 years ago

For some reason, I can't reproduce it.

anhility commented 6 years ago

Which item and class/specc?

Meivyn commented 6 years ago

It was http://www.wowhead.com/item=136102 as a Subtlety Rogue.

anhility commented 6 years ago

I can not replicate the bug. It looks from the error message that it lost the item ID when it tried to add it to the index. Might be a one time fluke. I'll close the ticket but write here again if you manage to replicate the bug and I'll reopen it.

anhility commented 6 years ago

The addon is also not built for PvP items as it's currently coded, just so you know.