Better Wardrobe and Transmog

Better Wardrobe and Transmog

6M Downloads

Unable to save / create new / delete sets

zaphon opened this issue ยท 1 comments

commented

If I attempt to save an existing set or create a new set I get the following errors.

1x ...rfaceBetterWardrobe\Modules\SavedOutfits.lua:169: attempt to call method 'SaveOutfit' (a nil value)
[string "@BetterWardrobe\Modules\SavedOutfits.lua"]:169: in function `OnAccept'
[string "@FrameXML\StaticPopup.lua"]:5078: in function `StaticPopup_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

Locals:
self = StaticPopup3 {
 0 = <userdata>
 hideOnEscape = 1
 SubText = <unnamed> {
 }
 ItemFrame = StaticPopup3ItemFrame {
 }
 Border = <unnamed> {
 }
 button3 = StaticPopup3Button3 {
 }
 numButtons = 2
 extraFrame = StaticPopup3ExtraFrame {
 }
 data = "BT"
 button4 = StaticPopup3Button4 {
 }
 maxWidthSoFar = 320
 button2 = StaticPopup3Button2 {
 }
 moneyFrame = StaticPopup3MoneyFrame {
 }
 button1 = StaticPopup3Button1 {
 }
 text = StaticPopup3Text {
 }
 CoverFrame = <unnamed> {
 }
 editBox = StaticPopup3EditBox {
 }
 timeleft = 0
 icon = StaticPopup3AlertIcon {
 }
 extraButton = StaticPopup3ExtraButton {
 }
 Separator = <unnamed> {
 }
 moneyInputFrame = StaticPopup3MoneyInputFrame {
 }
 maxHeightSoFar = 84.333387
 itemFrame = StaticPopup3ItemFrame {
 }
 which = "BW_CONFIRM_OVERWRITE_TRANSMOG_OUTFIT"
}
name = "BT"
(*temporary) = nil
(*temporary) = BetterWardrobeOutfitFrame {
 0 = <userdata>
 scrolldownbutton = BetterWardrobeOutfitFrameScrollFrameScrollBarScrollDownButton {
 }
 Border = <unnamed> {
 }
 StopHideCountDown = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:488
 scrollbar = BetterWardrobeOutfitFrameScrollFrameScrollBar {
 }
 DeleteOutfit = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:627
 Buttons = <table> {
 }
 popupDropDown = BetterWardrobeOutfitDropDown {
 }
 dropDown = BetterWardrobeOutfitDropDown {
 }
 ContinueWithSave = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:743
 popups = <table> {
 }
 StartHideCountDown = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:484
 Update = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:509
 NameOutfit = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:661
 hasInvalidAppearances = false
 Toggle = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:441
 scrollchild = <unnamed> {
 }
 itemTransmogInfoList = <table> {
 }
 hasValidAppearances = true
 pendingAppearances = <table> {
 }
 moduleoptions = <unnamed> {
 }
 CreateScrollFrame = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:774
 ClosePopups = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:706
 scrollframe = BetterWardrobeOutfitFrameScrollFrame {
 }
 OnHide = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:437
 OnUpdate = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:457
 NewOutfit = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:564
 Content = <unnamed> {
 }
 EvaluateSaveState = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:726
 ShowPopup = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:687
 scrollupbutton = BetterWardrobeOutfitFrameScrollFrameScrollBarScrollUpButton {
 }
}
(*temporary) = "BT"
(*temporary) = "attempt to call method 'SaveOutfit' (a nil value)"

3x ...rfaceBetterWardrobe\Modules\SavedOutfits.lua:859: Usage: <unnamed>:SetText("text")
[string "=[C]"]: in function `SetText'
[string "@BetterWardrobe\Modules\SavedOutfits.lua"]:859: in function `ShowForOutfit'
[string "@BetterWardrobe\Modules\SavedOutfits.lua"]:500: in function <...rfaceBetterWardrobe\Modules\SavedOutfits.lua:498>

Locals:
(*temporary) = <unnamed> {
 0 = <userdata>
 MiddleTexture = <unnamed> {
 }
 LeftTexture = <unnamed> {
 }
 RightTexture = <unnamed> {
 }
}
(*temporary) = nil

8x ...rfaceBetterWardrobe\Modules\SavedOutfits.lua:749: table index is nil
[string "@BetterWardrobe\Modules\SavedOutfits.lua"]:749: in function `ContinueWithSave'
[string "@BetterWardrobe\Modules\SavedOutfits.lua"]:739: in function `EvaluateSaveState'
[string "@BetterWardrobe\Modules\SavedOutfits.lua"]:411: in function `CheckOutfitForSave'
[string "*:OnClick"]:3: in function <[string "*:OnClick"]:1>

Locals:
self = BetterWardrobeOutfitFrame {
 moduleoptions = <unnamed> {
 }
 scrolldownbutton = BetterWardrobeOutfitFrameScrollFrameScrollBarScrollDownButton {
 }
 popupDropDown = BetterWardrobeOutfitDropDown {
 }
 0 = <userdata>
 dropDown = BetterWardrobeOutfitDropDown {
 }
 StartHideCountDown = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:484
 Border = <unnamed> {
 }
 StopHideCountDown = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:488
 NameOutfit = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:661
 pendingAppearances = <table> {
 }
 hasInvalidAppearances = false
 hasValidAppearances = true
 Toggle = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:441
 scrollchild = <unnamed> {
 }
 scrollframe = BetterWardrobeOutfitFrameScrollFrame {
 }
 DeleteOutfit = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:627
 outfitID = 50002
 Update = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:509
 itemTransmogInfoList = <table> {
 }
 Buttons = <table> {
 }
 OnHide = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:437
 popups = <table> {
 }
 ClosePopups = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:706
 OnUpdate = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:457
 Content = <unnamed> {
 }
 CreateScrollFrame = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:774
 EvaluateSaveState = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:726
 NewOutfit = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:564
 scrollbar = BetterWardrobeOutfitFrameScrollFrameScrollBar {
 }
 ContinueWithSave = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:743
 ShowPopup = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:687
 scrollupbutton = BetterWardrobeOutfitFrameScrollFrameScrollBarScrollUpButton {
 }
}
(*temporary) = <table> {
}
(*temporary) = nil
(*temporary) = <table> {
}
(*temporary) = nil
(*temporary) = 50002
(*temporary) = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
 4 = <table> {
 }
 5 = <table> {
 }
}
(*temporary) = nil
(*temporary) = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
 4 = <table> {
 }
 5 = <table> {
 }
}
(*temporary) = 5
(*temporary) = nil
(*temporary) = nil
(*temporary) = 5
(*temporary) = 6
(*temporary) = nil
(*temporary) = <table> {
}
(*temporary) = <table> {
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = "table index is nil"
IsDefaultSet = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:53
addon = <table> {
 TransmogVendorSizeUpdated = true
 ViewDelay = 3
 useAltSet = false
 modules = <table> {
 }
 Sort = <table> {
 }
 SecureHook = <function> defined @Bartender4\libs\AceHook-3.0\AceHook-3.0.lua:336
 tooltip = BW_ProfileTooltip {
 }
 GetBlizzID = <function> defined @BetterWardrobe\Data\DataBase.lua:529
 MogIt = <table> {
 }
 IsEnabled = <function> defined @ActionBarProfiles\libs\AceAddon-3.0\AceAddon-3.0.lua:451
 GetActiveCategory = <function> defined @BetterWardrobe\Modules\CollectionList.lua:217
 RefreshCharConfig = <function> defined @BetterWardrobe\Modules\Core.lua:1157
 RegisterMessage = <function> defined @ActionBarProfiles\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
 UnregisterMessage = <function> defined @ActionBarProfiles\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
 validSetCache = <table> {
 }
 ArmorSetModCache = <table> {
 }
 db = <table> {
 }
 SetEnabledState = <function> defined @ActionBarProfiles\libs\AceAddon-3.0\AceAddon-3.0.lua:424
 Hook = <function> defined @Bartender4\libs\AceHook-3.0\AceHook-3.0.lua:274
 GetSourceFromItem = <function> defined @BetterWardr
commented

I also can't delete a set...