Aurora

Aurora

352k Downloads

[Bug] Open Community window with J

arnvid opened this issue ยท 2 comments

commented

Describe the bug
Open Community window with J

x1 Aurora\Skin\api.lua:219: attempt to concatenate local 'textureName' (a nil value)
Stack: [string "@aurora\Skin\api.lua"]:219: in function 'SetTexture'
[string "@aurora\Skin\Retail\AddOns\Blizzard_Communities.lua"]:380: in function 'ClubFinderRoleTemplate'
[string "@aurora\Skin\Retail\AddOns\Blizzard_Communities.lua"]:403: in function 'ClubFinderOptionsTemplate'
[string "@aurora\Skin\Retail\AddOns\Blizzard_Communities.lua"]:410: in function 'ClubFinderGuildAndCommunityFrameTemplate'
[string "@aurora\Skin\Retail\AddOns\Blizzard_Communities.lua"]:869: in function 'addonModule'
[string "@aurora\Skin\init.lua"]:263: in function <Aurora\Skin\init.lua:227>
[string "=[C]"]: in function 'LoadAddOn'
[string "@FrameXML\UIParent.lua"]:509: in function 'UIParentLoadAddOn'
[string "@FrameXML\UIParent.lua"]:795: in function 'Communities_LoadUI'
[string "@FrameXML\UIParent.lua"]:1077: in function 'ToggleCommunitiesFrame'
[string "@FrameXML\UIParent.lua"]:932: in function 'ToggleGuildFrame'
[string "TOGGLEGUILDTAB"]:1: in function <[string "TOGGLEGUILDTAB"]:1>
Time: 2021/11/24 00:10:50 Index: 3/3
Locals:
texture = {
0 =
_auroraMask = {}
_auroraBorder = {}
_auroraBG = {}
}
textureName = nil
snapshot = nil
(*temporary) = function =[C]
(*temporary) = nil
(*temporary) = nil
(*temporary) = " is not a registered texture."
(*temporary) = "attempt to concatenate local 'textureName' (a nil value)"
snapshots = {
iconGUIDE = function @aurora\Skin\texture.lua:178
arrowRight = function @aurora\Skin\texture.lua:55
arrowUp = function @aurora\Skin\texture.lua:64
iconPRIEST = function @aurora\Skin\texture.lua:195
iconWARRIOR = function @aurora\Skin\texture.lua:195
gradientDown = function @aurora\Skin\texture.lua:127
shapeDiamond = function @aurora\Skin\texture.lua:260
gradientLeft = function @aurora\Skin\texture.lua:131
iconDEMONHUNTER = function @aurora\Skin\texture.lua:195
iconMONK = function @aurora\Skin\texture.lua:195
gradientUp = function @aurora\Skin\texture.lua:123
iconMAGE = function @aurora\Skin\texture.lua:195
iconTANK = function @aurora\Skin\texture.lua:178
iconWARLOCK = function @aurora\Skin\texture.lua:195
iconPALADIN = function @aurora\Skin\texture.lua:195
iconDRUID = function @aurora\Skin\texture.lua:195
iconROGUE = function @aurora\Skin\texture.lua:195
iconDEATHKNIGHT = function @aurora\Skin\texture.lua:195
shapeStar = function @aurora\Skin\texture.lua:214
iconDAMAGER = function @aurora\Skin\texture.lua:178
arrowLeft = function @aurora\Skin\texture.lua:46
gradientRight = function @aurora\Skin\texture.lua:135
arrowDown = function @aurora\Skin\texture.lua:73
iconHUNTER = function @aurora\Skin\texture.lua:195
iconHEALER = function @aurora\Skin\texture.lua:178
iconSHAMAN = function @aurora\Skin\texture.lua:195
}

commented
    function Skin.ClubFinderRoleTemplate(Frame)
        local atlas = Frame.Icon:GetAtlas()
        print("Debug:", roleIcons[atlas])
        Base.SetTexture(Frame.Icon, roleIcons[atlas])
        Skin.ClubFinderCheckboxTemplate(Frame.CheckBox)
commented
    local atlas = Frame.Icon:GetAtlas()

Brings back a list of 7 items -
UI-Frame-TankIcon
UI-Frame-HealerIcon
UI-Frame-DpsIcon
UI-Frame-TankIcon
UI-Frame-HealerIcon
UI-Frame-DpsIcon
nil