Quantcast
View Bug Report
UI Error
Bug #: 2258
File: Wykkyd Framework Suite
Date: 06/20/18 05:28 PM
By: Talonair
Status: Unconfirmed
Every time I load into a new zone or load in to begin with i get his UI Error. Reloading UI fixes it, but who want s 2 loads screens every time they change modes.

user:/AddOns/wykkyd_core_libraries/LWF/LibWykkydFactory4.lua:673: attempt to index a nil value
stack traceback:
user:/AddOns/wykkyd_core_libraries/LWF/LibWykkydFactory4.lua:673: in function 'ShouldBeHidden'
user:/AddOns/wykkyd_core_libraries/LWF/LibWykkydFactory4.lua:308: in function 'ToggleUIFrames'
user:/AddOns/wykkyd_core_libraries/LWF/LibWykkydFactory4.lua:7077: in function '(anonymous)'

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: DewiMorgan - 06/10/19 04:54 PM

Getting the same, though reloadui does not necessarily fix:

user:/AddOns/wykkyd_core_libraries/LWF/LibWykkydFactory4.lua:673: attempt to index a nil value
stack traceback:
user:/AddOns/wykkyd_core_libraries/LWF/LibWykkydFactory4.lua:673: in function 'ShouldBeHidden'
user:/AddOns/wykkyd_core_libraries/LWF/LibWykkydFactory4.lua:308: in function 'ToggleUIFrames'
user:/AddOns/wykkyd_core_libraries/LWF/LibWykkydFactory4.lua:7077: in function '(anonymous)'
<Locals> libAddonHook = "LWF4_StandardEventRegister" </Locals>

Unfortunately, the error cannot be closed (it reappears immediately), and restarting the UI does not reliably make it go away.
By: DewiMorgan - 06/10/19 06:21 PM
Wrapping line 673 in checks like so solves it, but I'm sure there are cleaner ways:

if STORE_WINDOW then
if STORE_WINDOW["container"] then
if not STORE_WINDOW["container"]:IsHidden() then return true end
end
end