Better Wardrobe and Transmog

Better Wardrobe and Transmog

6M Downloads

Bug: IsInList & Tooltip Error

nancikennedy opened this issue ยท 0 comments

commented

I set up multiple Collection Lists, that I share across two chars (mage and hunter), as I was testing the list functionality. Today, I noticed that mousing over any transmoggable item, whether it's in my bank, inventory or the AH produced the following error.

493x ...aceBetterWardrobe\Modules\CollectionList.lua:462: attempt to index field '?' (a nil value)
[string "@BetterWardrobe\Modules\CollectionList.lua"]:462: in function IsInList' [string "@BetterWardrobe\Modules\Tooltips.lua"]:331: in function ShowTooltip'
[string "@BetterWardrobe\Modules\Tooltips.lua"]:75: in function <BetterWardrobe\Modules\Tooltips.lua:73>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@Altoholic\Tooltip.lua"]:747: in function <Altoholic\Tooltip.lua:745>
[string "=[C]"]: ?
[string "@TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua"]:425: in function SetRecipeResultItem' [string "@Blizzard_TradeSkillUI\Blizzard_TradeSkillDetails.lua"]:747: in function OnResultMouseEnter'
[string ":OnEnter"]:1: in function <[string ":OnEnter"]:1>

Locals:
self =

{
UpdateList = defined @BetterWardrobe\Modules\CollectionList.lua:108
SelectedCollectionList = defined @BetterWardrobe\Modules\CollectionList.lua:503
BuildCollectionList = defined @BetterWardrobe\Modules\CollectionList.lua:13
AddMogItData = defined @BetterWardrobe\Modules\CollectionList.lua:407
AddList = defined @BetterWardrobe\Modules\CollectionList.lua:415
GenerateListView = defined @BetterWardrobe\Modules\CollectionList.lua:553
CurrentList = defined @BetterWardrobe\Modules\CollectionList.lua:492
IsInList = defined @BetterWardrobe\Modules\CollectionList.lua:454
TSMGroupExport = defined @BetterWardrobe\Modules\CollectionList.lua:648
Dropdown_Initialize = defined @BetterWardrobe\Modules\CollectionList.lua:301
CreateDropdown = defined @BetterWardrobe\Modules\CollectionList.lua:329
ListCount = defined @BetterWardrobe\Modules\CollectionList.lua:482
DeleteList = defined @BetterWardrobe\Modules\CollectionList.lua:440
Dropdown_OnClick = defined @BetterWardrobe\Modules\CollectionList.lua:293
BuildShoppingList = defined @BetterWardrobe\Modules\CollectionList.lua:91
RenameList = defined @BetterWardrobe\Modules\CollectionList.lua:429
showAll = true
OptionButton_OnClick = defined @BetterWardrobe\Modules\CollectionList.lua:357
}
itemID = 38440
itemType = "item"
full = true
profile =
{
1 =
{
}
2 =
{
}
3 =
{
}
4 =
{
}
5 =
{
}
6 =
{
}
7 =
{
}
8 =
{
}
9 =
{
}
10 =
{
}
11 =
{
}
12 =
{
}
13 =
{
}
14 =
{
}
15 =
{
}
16 =
{
}
17 =
{
}
18 =
{
}
19 =
{
}
20 =
{
}
21 =
{
}
22 =
{
}
23 =
{
}
24 =
{
}
25 =
{
}
26 =
{
}
27 =
{
}
28 =
{
}
29 =
{
}
30 =
{
}
31 =
{
}
32 =
{
}
}
count = 1
(for generator) = defined =[C]:-1
(for state) =
{
1 =
{
}
2 =
{
}
3 =
{
}
4 =
{
}
5 =
{
}
6 =
{
}
7 =
{
}
8 =
{
}
9 =
{
}
10 =
{
}
11 =
{
}
12 =
{
}
13 =
{
}
14 =
{
}
15 =
{
}
16 =
{
}
17 =
{
}
18 =
{
}
19 =
{
}
20 =
{
}
21 =
{
}
22 =
{
}
23 =
{
}
24 =
{
}
25 =
{
}
26 =
{
}
27 =
{
}
28 =
{
}
29 =
{
}
30 =
{
}
31 =
{
}
32 =
{
}
}
(for control) = 2
i = 2
data =
{
name = "Cloth"
}
collectionList =
{
name = "Cloth"
}
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
addon =
{
modules =
{
}
Sort =
{
}
SecureHook = defined @ace3\AceHook-3.0\AceHook-3.0.lua:336
DefaultUI =
{
}
tooltip = BW_ProfileTooltip {
}
SetDefaultModulePrototype = defined @ace3\AceAddon-3.0\AceAddon-3.0.lua:409
MogIt =
{
}
IsEnabled = defined @ace3\AceAddon-3.0\AceAddon-3.0.lua:451
GetActiveCategory = defined @BetterWardrobe\Modules\CollectionList.lua:207
RefreshCharConfig = defined @BetterWardrobe\Core.lua:972
ExtraSetsDataProvider =
{
}
RegisterMessage = defined @ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
UnregisterMessage = defined @A