BetterBags

BetterBags

1M Downloads

Broke this morning

xenoterracide opened this issue ยท 4 comments

commented

Addon Version

v0.1.77

World of Warcraft Version

Classic Era (And SoD/Hardcore) (specifically I'm running SoD)

Describe the bug

I believe after the server updates... but I also ran addon updates during that.

Message: Interface/AddOns/BetterBags/core/hooks.lua:86: attempt to index field 'Backpack' (a nil value)
Time: Wed Jul 24 11:06:29 2024
Count: 3
Stack: Interface/AddOns/BetterBags/core/hooks.lua:86: attempt to index field 'Backpack' (a nil value)
[string "@Interface/AddOns/BetterBags/core/hooks.lua"]:86: in function `ToggleAllBags'
[string "@Interface/AddOns/BetterBags/core/init.lua"]:87: in function `BetterBags_ToggleBags'
[string "BETTERBAGS_TOGGLEBAGS"]:1: in function <[string "BETTERBAGS_TOGGLEBAGS"]:1>

Locals: self = <table> {
 SetDefaultModuleLibraries = <function> defined @Interface/AddOns/Atlas/Libs/AceAddon-3.0/AceAddon-3.0.lua:363
 Enable = <function> defined @Interface/AddOns/Atlas/Libs/AceAddon-3.0/AceAddon-3.0.lua:290
 NewModule = <function> defined @Interface/AddOns/Atlas/Libs/AceAddon-3.0/AceAddon-3.0.lua:231
 isBCC = false
 EnableModule = <function> defined @Interface/AddOns/Atlas/Libs/AceAddon-3.0/AceAddon-3.0.lua:328
 modules = <table> {
 }
 GetModule = <function> defined @Interface/AddOns/Atlas/Libs/AceAddon-3.0/AceAddon-3.0.lua:206
 IterateEmbeds = <function> defined @Interface/AddOns/Atlas/Libs/AceAddon-3.0/AceAddon-3.0.lua:438
 OpenInteractionWindow = <function> defined @Interface/AddOns/BetterBags/core/hooks.lua:62
 SecureHookScript = <function> defined @Interface/AddOns/BetterBags/libs/AceHook-3.0/AceHook-3.0.lua:409
 defaultModuleLibraries = <table> {
 }
 OnUpdate = <function> defined @Interface/AddOns/BetterBags/core/hooks.lua:43
 RawHookScript = <function> defined @Interface/AddOns/BetterBags/libs/AceHook-3.0/AceHook-3.0.lua:394
 ToggleAllBags = <function> defined @Interface/AddOns/BetterBags/core/hooks.lua:83
 GetName = <function> defined @Interface/AddOns/Atlas/Libs/AceAddon-3.0/AceAddon-3.0.lua:275
 _bindingFrame = Frame {
 }
 defaultModuleState = false
 HideBlizzardBags = <function> defined @Interface/AddOns/BetterBags/core/era/init.lua:50
 name = "BetterBags"
 baseName = "BetterBags"
 IsEnabled = <function> defined @Interface/AddOns/Atlas/Libs/AceAddon-3.0/AceAddon-3.0.lua:447
 orderedModules = <table> {
 }
 OnEnable = <function> defined @Interface/AddOns/BetterBags/core/init.lua:216
 DisableModule = <function> defined @Interface/AddOns/Atlas/Libs/AceAddon-3.0/AceAddon-3.0.lua:346
 UpdateButtonHighlight = <function> defined @Interface/AddOns/BetterBags/core/era/init.lua:64
 backpackShouldClose = false
 GetBagFromBagID = <function> defined @Interface/AddOns/BetterBags/core/init.lua:153
 isRetail = false
 OnInitialize = <function> defined @Interface/AddOns/BetterBags/core/init.lua:118
 HookScript = <function> defined @Interface/AddOns/BetterBags/libs/AceHook-3.0/AceHook-3.0.lua:365
 CloseSpecialWindows = <function> defined @Interface/AddOns/BetterBags/core/hooks.lua:94
 CloseInteractionWindow = <function> defined @Interface/AddOns/BetterBags/core/hooks.lua:74
 IsHooked = <function> defined @Interface/AddOns/BetterBags/libs/AceHook-3.0/AceHook-3.0.lua:492
 Bags = <table> {
 }
 atBank = false
 IsModule = <function> defined @Interface/AddOns/Atlas/Libs/AceAddon-3.0/AceAddon-3.0.lua:464
 CloseBank = <function> defined @Interface/AddOns/BetterBags/core/hooks.lua:120
 SetDefaultModuleState = <function> defined @Interface/AddOns/Atlas/Libs/AceAddon-3.0/AceAddon-3.0.lua:383
 OpenBank = <function> defined @Interface/AddOns/BetterBags/core/hooks.lua:109
 ForceShowBlizzardBags = <function> defined @Interface/AddOns/BetterBags/core/hooks.lua:37
 SetEnabledState = <function> defined @Interface/AddOns/Atlas/Libs/AceAddon-3.0/AceAddon-3.0.lua:420
 Hook = <function> defined @Interface/AddOns/BetterBags/libs/AceHook-3.0/AceHook-3.0.lua:273
 enabledState = true
 ForceHideBlizzardBags = <function> defined @Interface/AddOns/BetterBags/core/hooks.lua:31
 backpackShouldOpen = false
 SecureHook = <function> defined @Interface/AddOns/BetterBags/libs/AceHook-3.0/AceHook-3.0.lua:335
 isClassic = true
 hooks = <table> {
 }
 SetDefaultModulePrototype = <function> defined @Interface/AddOns/Atlas/Libs/AceAddon-3.0/AceAddon-3.0

Steps to reproduce

Open the bag, I tried both the open all bags shortcut and the toggle provided by the plugin

commented

+1, installed previous version (BetterBags-v0.1.76 -- released 7/23) and it resolved the issue for now

commented

v0.1.78 resolves this issue for Classic version and should be out on all addon managers now.

commented

the same bug on retail version(TWW 11.0).
I tried v0.1.79 & v0.1.79-g392a2c7.
but it is no bug on v0.1.76
thanks

commented

I do not see this bug in retail current on 0.1.80, and it no longer existed in classic.