Better Wardrobe and Transmog

Better Wardrobe and Transmog

6M Downloads

Lua Error when Preview Item (Ctrl-Click)

DELUSIONK1NG opened this issue ยท 1 comments

commented

This was working yesterday, but new changes seemed to have caused an issue here. I disabled all other addons to verify that there wasn't a conflict with something else.

Message: ...rface\AddOns\BetterWardrobe\Modules\DressingRoom.lua:128: attempt to call global 'BW_DressingRoomHideArmorButton_OnClick' (a nil value)
Time: Fri Oct 16 23:59:57 2020
Count: 1
Stack: ...rface\AddOns\BetterWardrobe\Modules\DressingRoom.lua:128: attempt to call global 'BW_DressingRoomHideArmorButton_OnClick' (a nil value)
[string "@Interface\AddOns\BetterWardrobe\Modules\DressingRoom.lua"]:128: in function <...rface\AddOns\BetterWardrobe\Modules\DressingRoom.lua:114>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `DressUpVisual'
[string "@Interface\FrameXML\DressUpFrames.lua"]:8: in function `DressUpItemLink'
[string "@Interface\FrameXML\ItemButtonTemplate.lua"]:236: in function `HandleModifiedItemClick'
[string "@Interface\FrameXML\ContainerFrame.lua"]:1263: in function `ContainerFrameItemButton_OnModifiedClick'
[string "*:OnClick"]:10: in function <[string "*:OnClick"]:1>

Locals: self = <table> {
 SetDefaultModuleLibraries = <function> defined @Interface\AddOns\BetterWardrobe\Libs\AceAddon-3.0\AceAddon-3.0.lua:367
 SetsDataProvider = <table> {
 }
 EnableModule = <function> defined @Interface\AddOns\BetterWardrobe\Libs\AceAddon-3.0\AceAddon-3.0.lua:332
 modules = <table> {
 }
 GetOutfitName = <function> defined @Interface\AddOns\BetterWardrobe\Modules\SavedOutfits.lua:78
 IterateEmbeds = <function> defined @Interface\AddOns\BetterWardrobe\Libs\AceAddon-3.0\AceAddon-3.0.lua:442
 SecureHookScript = <function> defined @Interface\AddOns\BetterWardrobe\Libs\AceHook-3.0\AceHook-3.0.lua:410
 sortDB = <table> {
 }
 Profile = <table> {
 }
 SetSortOrder = <function> defined @Interface\AddOns\BetterWardrobe\Modules\SortingFunctions.lua:483
 RawHookScript = <function> defined @Interface\AddOns\BetterWardrobe\Libs\AceHook-3.0\AceHook-3.0.lua:395
 InitTables = <function> defined @Interface\AddOns\BetterWardrobe\Modules\UI.lua:652
 GetTab = <function> defined @Interface\AddOns\BetterWardrobe\Modules\SortingFunctions.lua:58
 Printf = <function> defined @Interface\AddOns\BetterWardrobe\Libs\AceConsole-3.0\AceConsole-3.0.lua:69
 GetItemSource = <function> defined @Interface\AddOns\BetterWardrobe\BetterWardrobe.lua:914
 SetDefaultModulePrototype = <function> defined @Interface\AddOns\BetterWardrobe\Libs\AceAddon-3.0\AceAddon-3.0.lua:409
 optionsFrame = <unnamed> {
 }
 SetActiveSlot = <function> defined @Interface\AddOns\BetterWardrobe\BetterWardrobe.lua:890
 RegisterChatCommand = <function> defined @Interface\AddOns\BetterWardrobe\Libs\AceConsole-3.0\AceConsole-3.0.lua:85
 defaultModuleState = true
 CreateChatLink = <function> defined @Interface\AddOns\BetterWardrobe\Modules\ImportExport.lua:272
 IsEnabled = <function> defined @Interface\AddOns\BetterWardrobe\Libs\AceAddon-3.0\AceAddon-3.0.lua:451
 Frame = <table> {
 }
 chardb = <table> {
 }
 DisableModule = <function> defined @Interface\AddOns\BetterWardrobe\Libs\AceAddon-3.0\AceAddon-3.0.lua:350
 db = <table> {
 }
 baseName = "BetterWardrobe"
 RefreshCharConfig = <function> defined @Interface\AddOns\BetterWardrobe\BetterWardrobe.lua:770
 ExtraSetsDataProvider = <table> {
 }
 RegisterMessage = <function> defined @Interface\AddOns\BetterWardrobe\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
 GetArgs = <function> defined @Interface\AddOns\BetterWardrobe\Libs\AceConsole-3.0\AceConsole-3.0.lua:144
 validSetCache = <table> {
 }
 filterSelection = <table> {
 }
 hooks = <table> {
 }
 xpacSelection = <table> {
 }
 DressUpSources = <function> defined @Interface\AddOns\BetterWardrobe\Modules\DressingRoom.lua:140
 setdb = <table> {
 }
 IsSetItem = <function> defined @Interface\AddOns\BetterWardrobe\Data\DataBase.lua:180
 SortCollection = <function> defined @Interface\AddOns\BetterWardrobe\Modules\SortingFunctions.lua:488
 itemSourceID = <table> {
 }
 GetArtifactSourceInfo = <function> defined @Interface\AddOns\BetterWardrobe\Modules\ArtifactAppearances.lua:276
 SetEnabledState = <function> defined @Interface\AddOns\BetterWardrobe\Libs\AceAddon-3.0\AceAddon-3.0.lua:424
 Hook = <f
commented

Thanks. I see what accidentally got changed and will have a fix out shortly.