Caerdon Wardrobe

Caerdon Wardrobe

446k Downloads

Error when using adventure journal item set search

Sluimerstand opened this issue ยท 1 comments

commented

image

5x CaerdonWardrobe/features/EncounterJournal.lua:165: attempt to index field 'searchPreview' (a nil value)
[string "@CaerdonWardrobe/features/EncounterJournal.lua"]:165: in function OnEncounterJournalUpdateSearchPreview' [string "@CaerdonWardrobe/features/EncounterJournal.lua"]:20: in function <CaerdonWardrobe/features/EncounterJournal.lua:20> [string "=[C]"]: in function EncounterJournal_UpdateSearchPreview'
[string "@Blizzard_EncounterJournal/Blizzard_EncounterJournal.lua"]:2280: in function `EncounterJournal_ShowSearch'
[string "@Blizzard_EncounterJournal/Blizzard_EncounterJournal.lua"]:2289: in function <...zzard_EncounterJournal/Blizzard_EncounterJournal.lua:2287>

Locals:
self =

{
OnSearchResultsScrollBoxRangeChanged = defined @CaerdonWardrobe/features/EncounterJournal.lua:51
UpdateScrollBox = defined @CaerdonWardrobe/features/EncounterJournal.lua:25
ADDON_LOADED = defined @CaerdonWardrobe/features/EncounterJournal.lua:14
Init = defined @CaerdonWardrobe/features/EncounterJournal.lua:10
OnEncounterJournalUpdateSearchPreview = defined @CaerdonWardrobe/features/EncounterJournal.lua:152
Refresh = defined @CaerdonWardrobe/features/EncounterJournal.lua:74
GetName = defined @CaerdonWardrobe/features/EncounterJournal.lua:6
PLAYER_LOOT_SPEC_UPDATED = defined @CaerdonWardrobe/features/EncounterJournal.lua:55
GetTooltipData = defined @CaerdonWardrobe/features/EncounterJournal.lua:59
OnEJSuggestFrame_UpdateRewards = defined @CaerdonWardrobe/features/EncounterJournal.lua:103
OnConfigureItemButton = defined @CaerdonWardrobe/features/EncounterJournal.lua:133
OnLootContainerScrollBoxRangeChanged = defined @CaerdonWardrobe/features/EncounterJournal.lua:47
GetDisplayInfoInternal = defined @CaerdonWardrobe/FeatureMixin.lua:32
IsSameItem = defined @CaerdonWardrobe/FeatureMixin.lua:24
OnUpdate = defined @CaerdonWardrobe/FeatureMixin.lua:78
GetDisplayInfo = defined @CaerdonWardrobe/features/EncounterJournal.lua:80
}
numResults = 71
lastShown = EncounterJournalSearchBox {
0 =
minCharacters = 3
OnFocusGained = defined @SharedXML/SharedUIPanelTemplates.lua:3268
Right = Texture {
}
Left = Texture {
}
searchIcon = EncounterJournalSearchBoxSearchIcon {
}
OnTextChanged = defined @SharedXML/SharedUIPanelTemplates.lua:3123
IsCurrentTextValidForSearch = defined @SharedXML/SharedUIPanelTemplates.lua:3115
OnKeyDown = defined @SharedXML/SharedUIPanelTemplates.lua:3255
searchPreviewUpdateDelay = 0
Middle = Texture {
}
SetSearchResultsFrame = defined @SharedXML/SharedUIPanelTemplates.lua:3107
Clear = defined @SharedXML/SharedUIPanelTemplates.lua:3099
OnShow = defined @SharedXML/SharedUIPanelTemplates.lua:3111
buttonTemplate = "EncounterSearchSMTemplate"
clearButton = EncounterJournalSearchBoxClearButton {
}
IsTextValidForSearch = defined @SharedXML/SharedUIPanelTemplates.lua:3119
IsSearchPreviewShown = defined @SharedXML/SharedUIPanelTemplates.lua:3103
GetSearchButtonCount = defined @SharedXML/SharedUIPanelTemplates.lua:3145
OnFocusLost = defined @SharedXML/SharedUIPanelTemplates.lua:3263
FixSearchPreviewBottomBorder = defined @SharedXML/SharedUIPanelTemplates.lua:3178
searchResultsFrame = EncounterJournalSearchResults {
}
selectedIndex = 1
HasStickyFocus = defined @SharedXML/SharedUIPanelTemplates.lua:3072
searchProgress = EncounterJournalSearchBoxSearchProgress {
}
searchPreviewContainer = Frame {
}
allResultsIndex = 6
showAllResults = Button {
}
SetSearchPreviewSelection = defined @SharedXML/SharedUIPanelTemplates.lua:3200
searchButtons =
{
}
HideSearchPreview = defined @SharedXML/SharedUIPanelTemplates.lua:3078
SetSearchPreviewSelectionToAllResults = defined @SharedXML/SharedUIPanelTemplates.lua:3234
UpdateSearchPreview = defined @SharedXML/SharedUIPanelTemplates.lua:3149
Close = defined @SharedXML/SharedUIPanelTemplates.lua:3094
GetButtons = defined @SharedXML/SharedUIPanelTemplates.lua:3137
GetAllRes

commented

This is resolved in the latest release (and I added support for showing icons on the item sets themselves).