Cidan / BetterBags

A total replacement AddOn for World of Warcraft bag frames, inspired by AdiBags.
MIT License
88 stars 39 forks source link

List of items in Custom Category not visible #433

Open tnwn opened 5 months ago

tnwn commented 5 months ago

Addon Version

v0.1.64

World of Warcraft Version

Retail Beta

Describe the bug

When opening the Custom Category section and selecting one previously created Category that has a previously added item to it, the list of items is gone. No new items can be added, and the one already there can't be deleted.

Steps to reproduce

  1. /bb to open options
  2. Custom Categories -> Create Category -> New Category Name
  3. Name it TEST and click Okay
  4. Click TEST in the left list of Custom Categories
  5. Drag an item from bag to the right section that says "Drag an item here..."
  6. The item is added to the Category but the list of items added that should now be visible on the right side is not there, just an empty field. image
Cidan commented 5 months ago

Thanks, I'm able to replicate this. I'll have this fixed in the next update.

Cidan commented 5 months ago

After some testing, it seems to happen if you make two categories with the same text string, but in different case. I'll add a guard to stop this from happening.

tnwn commented 5 months ago

I'm not sure that is the whole issue.

On this image you can see that I have created just 1 category, "Test". In this category I have added the healing potions. The list in the category section is not there. image image

Cidan commented 5 months ago

Hm alright, let me see if I can reproduce this a bit more consistently.

tnwn commented 5 months ago

After updating to v0.1.69 today I still have the same issue remaining, also there is this LUA error:

2x BetterBags/data/items.lua:833: attempt to call global 'GetDetailedItemLevelInfo' (a nil value) [string "@BetterBags/data/items.lua"]:833: in function AttachBasicItemInfo' [string "@BetterBags/data/items.lua"]:498: in function <BetterBags/data/items.lua:493> [string "=[C]"]: in functionxpcall' [string "@Blizzard_ObjectAPI/Mainline/ContinuableContainer.lua"]:83: in function <...Blizzard_ObjectAPI/Mainline/ContinuableContainer.lua:75>

[string "@BetterBags/data/items.lua"]:493: in function GetItemData' [string "@BetterBags/config/itemlist.lua"]:107: in functionSetList' [string "@BetterBags/config/itemlist.lua"]:76: in function <BetterBags/config/itemlist.lua:69>

Locals: self =

{ modules =
{ } baseName = "BetterBags" defaultModuleState = true _firstLoad =
{ } enabledState = true previousItemGUID =
{ } defaultModuleLibraries =
{ } loadCount = 6 name = "BetterBags_Items" loaders =
{ } _doingRefresh = false _preSort = false _newItemTimers =
{ } slotInfo =
{ } orderedModules =
{ } moduleName = "Items" } itemID = 193733 data =
{ } (temporary) = nil (temporary) = 193733 (*temporary) = "attempt to call global 'GetDetailedItemLevelInfo' (a nil value)"