Baganator

Baganator

11M Downloads

Error when opening new bank for first time in 11.2.0

Closed this issue ยท 3 comments

commented

What version(s) of WoW are you using?

Retail

What version of Baganator?

719-1-g1711a6b

What version of Syndicator?

224

What isn't working? What was supposed to happen?

Opened the bank, saw a lua error popup. Only the first time I had opened the bank -- the error didn't pop up again after a reload or after logging back in.

Are you experiencing any lua errors

1x ...ganator/ItemViewCommon/BankViewCharacterTabsView.lua:600: attempt to index field '?' (a nil value)
[Baganator/ItemViewCommon/BankViewCharacterTabsView.lua]:600: in function 'OnFinished'
[Baganator/SingleViews/BankViewCharacterTabsView.lua]:84: in function 'ShowTab'
[Baganator/ItemViewCommon/BankViewCharacterTabsView.lua]:485: in function 'UpdateView'
[Baganator/ItemViewCommon/BankView.lua]:219: in function 'UpdateView'
[Baganator/ItemViewCommon/BankViewCharacterTabsView.lua]:76: in function <...ganator/ItemViewCommon/BankViewCharacterTabsView.lua:68>
[C]: ?
[Blizzard_SharedXMLBase/CallbackRegistry.lua]:144: in function <...eBlizzard_SharedXMLBase/CallbackRegistry.lua:143>
[C]: ?
[Blizzard_SharedXMLBase/CallbackRegistry.lua]:147: in function 'TriggerEvent'
[Baganator/API/Main.lua]:28: in function <Baganator/API/Main.lua:27>

Locals:
self = Frame {
 currentTab = 1
 CurrencyWidget = Frame {
 }
 tabsPool = <table> {
 }
 updateTabs = false
 refreshState = <table> {
 }
 bankHeight = 287
 buttonsWidth = 154.166672
 Tabs = <table> {
 }
 DepositReagentsButton = Button {
 }
 ScrollBar = Frame {
 }
 purchaseTabAdded = false
 ScrollBox = Frame {
 }
 searchToApply = true
 isLive = true
 lastCharacter = "Ternoc-SilverHand"
 purchaseButton = Button {
 }
 lastTab = 1
 transferState = <table> {
 }
 liveCharacter = "Ternoc-SilverHand"
 tabsSearchCache = <table> {
 }
 backgroundButton = Button {
 }
 ScrollChild = Frame {
 }
 searchMonitors = <table> {
 }
 Container = Frame {
 }
 TopButtons = <table> {
 }
 Money = FontString {
 }
 sortManager = Frame {
 }
 LiveButtons = <table> {
 }
 TabSettingsMenu = Frame {
 }
 ToggleAllCharacters = Button {
 }
 BankMissingHint = FontString {
 }
 transferManager = Frame {
 }
}
character = nil
isLive = nil
sideSpacing = 13
topSpacing = 14
searchSpacing = 25
buttonPadding = 3
externalVerticalSpacing = 35
(*temporary) = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = "%."
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
addonTable = <table> {
 InventoryTracking = <table> {
 }
 Dialogs = <table> {
 }
 Constants = <table> {
 }
 Transfers = <table> {
 }
 ItemViewCommon = <table> {
 }
 Help = <table> {
 }
 sortItemFieldMap = <table> {
 }
 ViewManagement = <table> {
 }
 API = <table> {
 }
 CustomiseDialog = <table> {
 }
 BagTransfers = <table> {
 }
 Config = <table> {
 }
 Search = <table> {
 }
 CallbackRegistry = <table> {
 }
 CategoryViews = <table> {
 }
 lastEntryTime = 664369.106068
 Locales = <table> {
 }
 json = <table> {
 }
 SlashCmd = <table> {
 }
 SingleViews = <table> {
 }
 Utilities = <table> {
 }
 Core = <table> {
 }
 NewItems = Frame {
 }
 Compatibility = <table> {
 }
 Skins = <table> {
 }
 ItemButtonUtil = <table> {
 }
 Sorting = <table> {
 }
}

Anything else?

No response

commented

Thanks for the bug report. Please test the latest alpha (as I'm on the EU patch still)

Baganator-721-1-g5513e45.zip

and tell me if it is still working (the fix fixes the error)

commented

I can confirm that nothing seems to be broken by this change.

commented

Cool. Thanks