Haleth / Aurora

Minimalistic UI theme for World of Warcraft
Other
54 stars 23 forks source link

[Bug] LUA Error: attempt to index field 'customHighlight' (a boolean value) #269

Closed Jeremy7600 closed 3 years ago

Jeremy7600 commented 3 years ago

Describe the bug LUA Error: attempt to index field 'customHighlight' (a boolean value)

No interface changes that usually occur with Aurora (character screen, etc)

Message: Interface\AddOns\Aurora\gui.lua:280: attempt to index field 'customHighlight' (a boolean value) Time: Thu Jun 3 12:29:01 2021 Count: 1 Stack: Interface\AddOns\Aurora\gui.lua:280: attempt to index field 'customHighlight' (a boolean value) [string "@Interface\AddOns\Aurora\gui.lua"]:280: in function <Interface\AddOns\Aurora\gui.lua:274>

Locals: self = { 0 = Text = AuroraOptionsText { } value = "customHighlight" } (temporary) = true (temporary) = { 0 = Text = AuroraOptionsText { } value = "customHighlight" } (temporary) = false (temporary) = "attempt to index field 'customHighlight' (a boolean value)" highlightButton = { BottomLeftCorner = { } OnBackdropLoaded = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:178 GetBackdropColor = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:272 SetBackdropOptions = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:344 value = "customHighlight" TopLeftCorner = { } RightEdge = { } GetBackdropTexture = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:320 ApplyBackdrop = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:189 SetBackdrop = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:233 ClearBackdrop = defined @Interface\SharedXML\Backdrop.lua:369 GetBackdropBorderColor = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:292 GetBackdrop = defined @Interface\SharedXML\Backdrop.lua:434 SetBackdropGradient = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:298 SetBorderBlendMode = defined @Interface\SharedXML\Backdrop.lua:353 SetBackdropOption = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:329 SetBackdropLayer = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:306 backdropInfo =

{ } OnBackdropSizeChanged = defined @Interface\SharedXML\Backdrop.lua:269 TopRightCorner = { } GetBackdropOption = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:338 GetEdgeSize = defined @Interface\SharedXML\Backdrop.lua:275 Center = { } TopEdge = { } _backdropInfo =
{ } 0 = BottomEdge = { } BottomRightCorner = { } GetBackdropLayer = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:315 SetupTextureCoordinates = defined @Interface\SharedXML\Backdrop.lua:301 HasBackdropInfo = defined @Interface\SharedXML\Backdrop.lua:365 SetupPieceVisuals = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:181 SetBackdropColor = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:262 LeftEdge = { } SetBackdropBorderColor = defined @Interface\AddOns\Aurora\Skin\backdrop.lua:276 } private =
{ isPatch = false disabled =
{ } uiScale = 1 API_MINOR = 8 IGNORED_QUEST_DISPLAY = "%s (ignored)" isBCC = true TRIVIAL_QUEST_DISPLAY = "%s (low level)" textures =
{ } classColorsReset = defined @Interface\AddOns\Aurora\Skin\color.lua:360 debug = defined @Interface\AddOns\Aurora\Skin\init.lua:79 charClass =
{ } fileOrder =
{ } backdrop =
{ } UpdateUIScale = defined @Interface\AddOns\Aurora\Skin\init.lua:29 FACTION_COLORS =
{ } SharedXML =
{ } setColorCache = defined @Interface\AddOns\Aurora\Skin\color.lua:353 updateHighlightColor = defined @Interface\AddOns\Aurora\aurora.lua:85 isClassic = false API_MAJOR = 0 nop = defined @Interface\AddOns\Aurora\Skin\init.lua:79 OnLoad = defined @Interface\AddOns\Aurora\aurora.lua:38 commands =
{ } SetupGUI = defined @Interface\AddOns\Aurora\gui.lua:377 FrameXML =
{ } isRetail = false AddOns =
{ } atlasColors =

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Interface > Addons > Aurora'
  2. Click on 'Custom Highlight Color'
  3. See error

Expected behavior No error when changing custom highlight option

Screenshots Available if needed

Additional context No other addons in the Addon folder for testing purposes. Using AuroraMissingTextures in the Interface folder.

Jeremy7600 commented 3 years ago

Based on comments in another issue, I deleted the SavedVariable file for Aurora, cleaned out some old ones for addons I dont use and the error has gone away. Can click the highlight button without issue.