Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Category Names, Fields (this one is a head spinner for me) #195

Closed
felbloodguy opened this issue Feb 21, 2024 · 1 comment
Closed
Assignees
Labels
bug Something isn't working triage

Comments

@felbloodguy
Copy link

felbloodguy commented Feb 21, 2024

Addon Version

v0.1.7

World of Warcraft Version

Retail

Describe the bug

Many items (regardless of any existing Blizzard taxonomy, as far as I can tell) cannot be added by dragging and dropping. They can, however, be added to custom categories that already have items in them.

At first, I thought this had to be a tooltip/elvUI/install thing; now and again, I could get a Lua Error to throw. But that was this bug.

image

Details

Message: ...erface/AddOns/ElvUI/Core/Modules/Tooltip/Tooltip.lua:901: bad argument #1 to 'strmatch' (string expected, got nil) Time: Wed Feb 21 11:20:15 2024 Count: 16 Stack: ...erface/AddOns/ElvUI/Core/Modules/Tooltip/Tooltip.lua:901: bad argument #1 to 'strmatch' (string expected, got nil) [string "=[tsm error check]"]:1: in main chunk [string "=(tail call)"]: ? [string "=[C]"]: ? [string "=[C]"]: ? [string "@Interface/AddOns/ElvUI/Core/Modules/Tooltip/Tooltip.lua"]:901: in function <...erface/AddOns/ElvUI/Core/Modules/Tooltip/Tooltip.lua:898> [string "=(tail call)"]: ?

[string "=[C]"]: in function `SetCurrencyToken' [string "@Interface/AddOns/BetterBags/frames/currency.lua"]:85: in function

The odd thing is that items that could be added first to other categories cannot be added to

I've tested renaming categories to irrelevant things outside of any BlizzardDB taxonomy,

It depends not just on the item but the category created and when that category was created. For instance, a category that works can be made after one that doesn't, where a previously immovable item can be moved into the category.

It appears that there's an issue with the category initialization in the Lua script. It could be that some data type parameter is not matching up, could be the dreaded missing parenthesis, or some other syntax disagreement. Hell, just two simple guesses, as I haven't had a chance to look under the hood.

Hope I get a cookie for doing all this work.

Steps to reproduce

Create custom category
try to grab and drop from any source to the field indicated
enjoy watching your brain explode as you test items endlessly to figure this out (this was me), I'm hoping you'll have an easy time with some pointers.

@Cidan
Copy link
Owner

Cidan commented Feb 23, 2024

Duplicate of #129

@Cidan Cidan marked this as a duplicate of #129 Feb 23, 2024
@Cidan Cidan closed this as completed Feb 23, 2024
@github-project-automation github-project-automation bot moved this from To Triage to Released in BetterBags Issue Tracker Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
Archived in project
Development

No branches or pull requests

2 participants