[Bug] Retail\SharedXML\SecureUIPanelTemplates.lua:127: attempt to index field 'Left' (a nil value)
arnvid opened this issue ยท 4 comments
Describe the bug
MagicButtonTemplate for some instances does not work properly.
To Reproduce
Steps to reproduce the behavior:
- Activate RealUI
- See Error
3
Expected behavior
No error
Screenshots
x1 ...ora\Skin\Retail\SharedXML\SecureUIPanelTemplates.lua:127: attempt to index field 'Left' (a nil value)
Stack: [string "@aurora\Skin\Retail\SharedXML\SecureUIPanelTemplates.lua"]:127: in function 'UIPanelButtonNoTooltipTemplate'
[string "@aurora\Skin\Retail\SharedXML\SharedUIPanelTemplates.lua"]:265: in function 'UIPanelButtonTemplate'
[string "@aurora\Skin\Retail\SharedXML\SharedUIPanelTemplates.lua"]:484: in function 'MagicButtonTemplate'
[string "@aurora\Skin\Retail\SharedXML\ModelPreviewFrame.lua"]:24: in function '?'
[string "@aurora\Skin\init.lua"]:243: in function <Aurora\Skin\init.lua:227>
[string "=[C]"]: in function 'LoadAddOn'
[string "@RealUI_Core-2.3.0\Init.lua"]:6: in main chunk
Time: 2021/11/23 22:41:51 Index: 1/4
Locals:
Button = ModelPreviewFrameCloseButton {
0 =
_returnColor = {}
Enable = function =[C]
OnBackdropLoaded = function @aurora\Skin\backdrop.lua:185
GetBackdropColor = function @aurora\Skin\backdrop.lua:296
SetBackdropOptions = function @aurora\Skin\backdrop.lua:368
SetButtonColor = function @aurora\Skin\skin.lua:55
SetBackdropBorderColor = function @aurora\Skin\backdrop.lua:300
RightEdge = {}
GetBackdropTexture = function @aurora\Skin\backdrop.lua:344
UnlockHighlight = function =[C]
ApplyBackdrop = function @aurora\Skin\backdrop.lua:203
SetBackdrop = function @aurora\Skin\backdrop.lua:257
ClearBackdrop = function @SharedXML\Backdrop.lua:274
GetBackdropBorderColor = function @aurora\Skin\backdrop.lua:316
GetBackdrop = function @SharedXML\Backdrop.lua:339
LockHighlight = function =[C]
_disabledColor = {}
SetEnabled = function =[C]
Disable = function =[C]
SetBorderBlendMode = function @SharedXML\Backdrop.lua:258
SetBackdropOption = function @aurora\Skin\backdrop.lua:353
SetBackdropLayer = function @aurora\Skin\backdrop.lua:330
_auroraTextures = {}
BottomRightCorner = {}
SetupTextureCoordinates = function @SharedXML\Backdrop.lua:206
OnBackdropSizeChanged = function @SharedXML\Backdrop.lua:174
HasBackdropInfo = function @SharedXML\Backdrop.lua:270
GetBackdropOption = function @aurora\Skin\backdrop.lua:362
BottomLeftCorner = {}
Center = {}
GetEdgeSize = function @SharedXML\Backdrop.lua:180
backdropInfo = {}
BottomEdge = {}
TopEdge = {}
_backdropInfo = {}
GetButtonColor = function @aurora\Skin\skin.lua:75
_enabledColor = {}
GetBackdropLayer = function @aurora\Skin\backdrop.lua:339
TopRightCorner = {}
TopLeftCorner = {}
SetupPieceVisuals = function @aurora\Skin\backdrop.lua:188
SetBackdropColor = function @aurora\Skin\backdrop.lua:286
LeftEdge = {}
SetBackdropGradient = function @aurora\Skin\backdrop.lua:322
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'Left' (a nil value)"
Skin = {
AchievementHeaderStatusBarTemplate = function @aurora\Skin\Retail\AddOns\Blizzard_AchievementUI.lua:257
LFGSpecificChoiceTemplate = function @aurora\Skin\Retail\FrameXML\LFGFrame.lua:125
GuildChallengeAlertFrameTemplate = function @aurora\Skin\Retail\FrameXML\AlertFrameSystems.lua:219
PopupButtonTemplate = function @aurora\Skin\Retail\FrameXML\ItemButtonTemplate.lua:271
PetBattleUnitTooltipAuraTemplate = function @aurora\Skin\Retail\AddOns\Blizzard_PetBattleUI.lua:86
AuctionHouseAuctionsFrameTemplate = function @aurora\Skin\Retail\AddOns\Blizzard_AuctionHouseUI.lua:438
AuctionHouseItemDisplayBaseTemplate = function @aurora\Skin\Retail\AddOns\Blizzard_AuctionHouseUI.lua:201
AchievementAlertFrameTemplate = function @aurora\Skin\Retail\FrameXML\AlertFrameSystems.lua:121
UnitPopupVoiceToggleButtonTemplate = function @aurora\Skin\Retail\FrameXML\UnitPopupCustomControls.lua:15
InputBoxInstructionsTemplate = function @AddOns\Aurora\Skin\Retail\SharedXML\SharedUIP
Additional context
Add any other context about the problem here.
x1 RealUI_Core-2.3.0\Core\MenuFrame.lua:203: attempt to index field 'menu' (a nil value)
Stack: [string "@RealUI_Core-2.3.0\Core\MenuFrame.lua"]:203: in function <RealUI_Core-2.3.0\Core\MenuFrame.lua:199>
Time: 2021/11/23 22:41:54 Index: 4/4
Locals:
self = RealUI_MenuItem17 {
0 =
OnLeave = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:218
arrow = {}
SetCheckedState = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:141
spacer = {}
GetEnabledState = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:166
OnClick = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:187
Clear = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:221
OnLoad = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:36
checkBox = {}
GetButtonWidth = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:169
SetEnabledState = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:161
OnEnter = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:199
icon = {}
Update = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:94
GetCheckedState = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:156
}
mouseButton = true
(*temporary) = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:385
(*temporary) = {
SetDefaultModuleLibraries = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:367
Close = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:370
Enable = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:294
NewModule = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:235
EnableModule = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:332
modules = {}
GetModule = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:210
IterateEmbeds = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:442
IsModule = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:217
defaultModuleLibraries = {}
baseName = "RealUI_Core-2.3.0"
ContainsMouse = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:378
SetEnabledState = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:424
CloseAll = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:385
enabledState = true
Open = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:348
SetDefaultModuleState = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:387
moduleName = "MenuFrame"
GetName = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:279
defaultModuleState = true
Disable = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:314
IterateModules = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:437
name = "RealUI_Core-2.3.0_MenuFrame"
SetDefaultModulePrototype = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:409
IsEnabled = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:451
orderedModules = {}
IsMenuOpen = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:339
DisableModule = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:350
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'menu' (a nil value)"
MenuFrame = {
SetDefaultModuleLibraries = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:367
Close = function @RealUI_Core-2.3.0\Core\MenuFrame.lua:370
Enable = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:294
NewModule = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:235
EnableModule = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:332
modules = {}
GetModule = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:210
IterateEmbeds = function @ace3\AceAddon-3.0\AceAddon-3.0.lua:442
IsModule = function @AddOns\Ace3\A
Solved by commenting out
-- Skin.MagicButtonTemplate(closeButton)
in AddOns\Aurora\Skin\Retail\SharedXML\ModelPreviewFrame.lua