Bagnon

Bagnon

127M Downloads

BagBrother lua error when purchasing a guild bank tab

KyrosKrane opened this issue ยท 0 comments

commented

Running Software (issues missing this information will be deleted):

  • Addon version: 9.0.5
  • Server patch: Build 9.0.2.37176

Have you read the changelog? (please don't waste our time)
Yes.

Describe the bug
I have BagBrother, Bagnon, and Bagnon Config enabled, and I have Bagnon Guild Bank and Bagnon Void Storage disabled. On a freshly created guild, I purchased two bank tabs using the Guild Settings option. This did not give an error. Then I went to the actual guild bank, and using the + button on the tabs, I purchased four additional tabs (six total). The last two gave the error below.

To Reproduce
As described above. Full error log below.

Expected behaviour
A lua error does not appear.

Error Logs

9x BagBrother\Events.lua:97: attempt to concatenate a nil value
[string "@BagBrother\Events.lua"]:97: in function `?'
[string "@BagBrother\Startup.lua"]:20: in function <BagBrother\Startup.lua:20>

Locals:
self = BagBrother {
 BANKFRAME_OPENED = <function> defined @BagBrother\Events.lua:42
 ParseItem = <function> defined @BagBrother\API.lua:47
 SetupEvents = <function> defined @BagBrother\Startup.lua:49
 VOID_STORAGE_CLOSE = <function> defined @BagBrother\Events.lua:68
 SaveBag = <function> defined @BagBrother\API.lua:19
 PLAYER_EQUIPMENT_CHANGED = <function> defined @BagBrother\Events.lua:31
 SaveEquip = <function> defined @BagBrother\API.lua:40
 GUILDBANKFRAME_OPENED = <function> defined @BagBrother\Events.lua:83
 Realm = <table> {
 }
 StartupCache = <function> defined @BagBrother\Startup.lua:33
 PLAYER_MONEY = <function> defined @BagBrother\Events.lua:35
 BANKFRAME_CLOSED = <function> defined @BagBrother\Events.lua:46
 BAG_UPDATE = <function> defined @BagBrother\Events.lua:25
 GUILDBANKFRAME_CLOSED = <function> defined @BagBrother\Events.lua:87
 VOID_STORAGE_OPEN = <function> defined @BagBrother\Events.lua:64
 Player = <table> {
 }
 RemoveEvent = <function> defined @BagBrother\Startup.lua:89
 GUILDBANKBAGSLOTS_CHANGED = <function> defined @BagBrother\Events.lua:95
 0 = <userdata>
 GUILD_ROSTER_UPDATE = <function> defined @BagBrother\Events.lua:91
 UpdateData = <function> defined @BagBrother\Startup.lua:69
 atGuild = true
}
(*temporary) = nil
(*temporary) = "*"
(*temporary) = nil
(*temporary) = nil
(*temporary) = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to concatenate a nil value"

Edit: corrected addon version. Was a typo.