Bug when collection list is empty
nancikennedy opened this issue ยท 0 comments
3x ...aceBetterWardrobe\Modules\CollectionList.lua:508: attempt to index local 'list' (a nil value)
[string "@BetterWardrobe\Modules\CollectionList.lua"]:508: in function SelectedCollectionList' [string "@BetterWardrobe\Modules\CollectionList.lua"]:294: in function
func'
[string "@BetterWardrobe\Libs\UIDropDownMenu\UIDropDownMenu.lua"]:905: in function `BW_UIDropDownMenuButton_OnClick'
[string ":OnClick"]:1: in function <[string ":OnClick"]: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
LISTWINDOW =
}
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
}
value = 2
list = nil
(*temporary) = defined =[C]:-1
(*temporary) = BW_CollectionList_DropdownText {
0 =
}
(*temporary) = nil
(*temporary) = "attempt to index local 'list' (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 @ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
validSetCache =
}
ArmorSetModCache =
}
db =
}
SetEnabledState = defined @ace3\AceAddon-3.0\AceAddon-3.0.lua:424
Hook = defined @ace3\AceHook-3.0\AceHook-3.0.lua:274
GetSourceFromItem = defined @BetterWardrobe\Modules\Tooltips.lua:207
OnEnable = defined @BetterWardrobe\Core.lua:1107
RefreshOutfitData = defined @BetterWardrobe\Core.lua:854
GetSetNewSources = defined @BetterWardrobe\BetterWardrobe.lua:1011
IsWeaponCat = defined @BetterWardrobe\Modules\CollectionList.lua:212
ItemAppearance =
}
OnInitialize = defined @BetterWardrobe\Core.lua:991
UnregisterAllEvents = defined @ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
Globals =
}
SortSet = defined @BetterWardrobe\Modules\SortingFunctions.lua:502
HiddenAppearanceDB =
}
GetName = defined @ace3\AceAddon-3.0\AceAddon-3.0.lua:279
Camera =
}
name = "BetterWardrobe"
QueueLis