Baganator

Baganator

1M Downloads

Categories view broken in v430

tonydero opened this issue ยท 3 comments

commented

Please include as much of the following information as possible to help me fix the bug:

Brief Description of Bug

Whenever I open my bags in category view I get the below errors, and nothing shows in the bags.

Steps to Reproduce

Set to category view and open bags.

Loaded Addons

Just baganator and syndicator.

Back Trace (LUA Error Output)

Message: ...AddOns/Baganator/CategoryViews/ComposeCategories.lua:34: bad argument #1 to 'ipairs' (table expected, got nil)
Time: Sun Aug 18 14:38:25 2024
Count: 4
Stack: ...AddOns/Baganator/CategoryViews/ComposeCategories.lua:34: bad argument #1 to 'ipairs' (table expected, got nil)
[string "=[C]"]: in function `ipairs'
[string "@Interface/AddOns/Baganator/CategoryViews/ComposeCategories.lua"]:34: in function <...AddOns/Baganator/CategoryViews/ComposeCategories.lua:4>
[string "@Interface/AddOns/Baganator/CategoryViews/ComposeCategories.lua"]:125: in function `ComposeCategories'
[string "@Interface/AddOns/Baganator/CategoryViews/BagLayout.lua"]:396: in function `Layout'
[string "@Interface/AddOns/Baganator/CategoryViews/BackpackView.lua"]:169: in function `UpdateForCharacter'
[string "@Interface/AddOns/Baganator/ViewManagement/Initialize.lua"]:68: in function <...rface/AddOns/Baganator/ViewManagement/Initialize.lua:62>
[string "=[C]"]: in function `ToggleAllBags'
[string "OPENALLBAGS"]:1: in function <[string "OPENALLBAGS"]:1>

Locals: (*temporary) = nil
(*temporary) = "table expected, got nil"

I have also received the following error:

Time: Sun Aug 18 14:42:54 2024
Count: 1
Stack: ...AddOns/Baganator/CategoryViews/ComposeCategories.lua:34: bad argument #1 to 'ipairs' (table expected, got nil)
[string "@Interface/AddOns/Baganator/CategoryViews/ComposeCategories.lua"]:34: in function <...AddOns/Baganator/CategoryViews/ComposeCategories.lua:4>
[string "@Interface/AddOns/Baganator/CategoryViews/ComposeCategories.lua"]:125: in function `ComposeCategories'
[string "@Interface/AddOns/Baganator/CategoryViews/BagLayout.lua"]:396: in function `Layout'
[string "@Interface/AddOns/Baganator/CategoryViews/BackpackView.lua"]:169: in function `UpdateForCharacter'
[string "@Interface/AddOns/Baganator/ViewManagement/Initialize.lua"]:77: in function <...rface/AddOns/Baganator/ViewManagement/Initialize.lua:74>
[string "=[C]"]: ?
[string "@Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144: in function <...e/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua:143>
[string "=[C]"]: ?
[string "@Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function `TriggerEvent'
[string "@Interface/AddOns/Baganator/ViewManagement/Initialize.lua"]:99: in function <...rface/AddOns/Baganator/ViewManagement/Initialize.lua:93>
[string "=[C]"]: ?
[string "@Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144: in function <...e/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua:143>
[string "=[C]"]: ?
[string "@Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function `TriggerEvent'
[string "@Interface/AddOns/Baganator/Core/Config.lua"]:237: in function `Set'
[string "@Interface/AddOns/Baganator/CustomiseDialog/Components.lua"]:498: in function <...face/AddOns/Baganator/CustomiseDialog/Components.lua:497>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `securecallfunction'
[string "@Interface/AddOns/Blizzard_Menu/Menu.lua"]:868: in function `Pick'
[string "@Interface/AddOns/Blizzard_Menu/MenuTemplates.lua"]:74: in function <Interface/AddOns/Blizzard_Menu/MenuTemplates.lua:68>

Locals: category = <table> {
 key = "auto_inventory_slots"
 doNotAdd = true
 priorityOffset = -40
 source = "default_auto_inventory_slots"
 auto = "inventory_slots"
 name = "Inventory Slots (Auto)"
}
everything = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
 4 = <table> {
 }
 5 = <table> {
 }
 6 = <table> {
 }
 7 = <table> {
 }
 8 = <table> {
 }
 9 = <table> {
 }
 10 = <table> {
 }
 11 = <table> {
 }
 12 = <table> {
 }
 13 = <table> {
 }
 14 = <table> {
 }
 15 = <table> {
 }
 16 = <table> {
 }
 17 = <table> {
 }
 18 = <table> {
 }
 19 = <table> {
 }
 20 = <table> {
 }
 21 = <table> {
 }
 22 = <table> {
 }
 23 = <table> {
 }
 24 = <table> {
 }
 25 = <table> {
 }
 26 = <table> {
 }
 27 = <table> {
 }
 28 = <table> {
 }
 29 = <table> {
 }
 30 = <table> {
 }
 31 = <table> {
 }
 32 = <table> {
 }
 33 = <table> {
 }
 34 = <table> {
 }
 35 = <table> {
 }
 36 = <table> {
 }
 37 = <table> {
 }
 38 = <table> {
 }
 39 = <table> {
 }
 40 = <table> {
 }
 41 = <table> {
 }
 42 = <table> {
 }
 43 = <table> {
 }
 44 = <table> {
 }
 45 = <table> {
 }
 46 = <table> {
 }
 47 = <table> {
 }
 48 = <table> {
 }
 49 = <table> {
 }
 50 = <table> {
 }
 51 = <table> {
 }
 52 = <table> {
 }
 53 = <table> {
 }
 54 = <table> {
 }
 55 = <table> {
 }
 56 = <table> {
 }
 57 = <table> {
 }
 58 = <table> {
 }
 59 = <table> {
 }
 60 = <table> {
 }
 61 = <table> {
 }
 62 = <table> {
 }
 63 = <table> {
 }
 64 = <table> {
 }
 65 = <table> {
 }
 66 = <table> {
 }
 67 = <table> {
 }
 68 = <table> {
 }
 69 = <table> {
 }
 70 = <table> {
 }
 71 = <table> {
 }
 72 = <table> {
 }
 73 = <table> {
 }
 74 = <table> {
 }
 75 = <table> {
 }
 76 = <table> {
 }
 77 = <table> {
 }
 78 = <table> {
 }
 79 = <table> {
 }
 80 = <table> {
 }
 81 = <table> {
 }
 82 = <table> {
 }
 83 = <table> {
 }
 84 = <table> {
 }
 85 = <table> {
 }
 86 = <table> {
 }
 87 = <tab
commented

Please update to v432 which will have this fixed.

commented

I swear there wasn't a new version when I started composing this. Apologies!

commented

It only just got approved by CF