AdiBags

AdiBags

8M Downloads

Reagent bank "blizzard sorting" gives an error

antedap opened this issue ยท 2 comments

commented

Addon Version

v.1.9.47

World of Warcraft Version

Retail

Describe the bug

2x AdiBags/core/Bags.lua:298: attempt to call global 'SortReagentBankBags' (a nil value)
[string "@AdiBags/core/Bags.lua"]:298: in function `Sort'
[string "@AdiBags/widgets/ContainerFrame.lua"]:363: in function <AdiBags/widgets/ContainerFrame.lua:361>

Locals:
self =

{
SetDefaultModuleLibraries = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:363
isBank = true
Enable = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:290
NewModule = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:231
EnableModule = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:328
modules =
{
}
GetModule = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:206
IterateEmbeds = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:438
SecureHook = defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:335
defaultModuleLibraries =
{
}
PostDisable = defined @AdiBags/core/Bags.lua:264
RawHookScript = defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:394
PostClose = defined @AdiBags/core/Bags.lua:290
SetDefaultModulePrototype = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:405
frame = AdiBagsContainer2 {
}
name = "AdiBags_Bank"
baseName = "AdiBags"
IsEnabled = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:447
orderedModules =
{
}
bagIds =
{
}
DisableModule = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:346
BankFrameGetRight = defined @AdiBags/core/Bags.lua:304
Sort = defined @AdiBags/core/Bags.lua:295
PreOpen = defined @AdiBags/core/Bags.lua:283
CanOpen = defined @AdiBags/core/Bags.lua:279
RegisterMessage = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterMessage = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
AdiBags_InteractingWindowChanged = defined @AdiBags/core/Bags.lua:271
GetName = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:275
IsHooked = defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:492
order = 20
bagName = "Bank"
IsModule = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:213
hooks =
{
}
SetDefaultModuleState = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:383
SendMessage = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:59
UnhookAll = defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:476
SetEnabledState = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:420
Hook = defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:273
enabledState = true
Unhook = defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:417
RegisterEvent = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterAllMessages = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
SecureHookScript = defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:409
HookScript = defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:365
defaultModuleState = true
IterateModules = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:433
UnregisterAllEvents = defined @AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
RawHook = <func

Steps to reproduce

1 Open the bank
2 Switch to the reagent bank
3 Click "Blizzard Sorting"

Verification

  • I have disabled all other addons and made sure this bug is triggered only with AdiBags enabled
commented

I've confirmed and reproduced this. Fix on the way!

commented

Fixed in .48, which is live now.