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

category creation needs nil protection #353

Closed
zeptognome opened this issue May 2, 2024 · 1 comment
Closed

category creation needs nil protection #353

zeptognome opened this issue May 2, 2024 · 1 comment
Assignees
Labels
bug Something isn't working triage

Comments

@zeptognome
Copy link
Collaborator

Addon Version

v0.1.32

World of Warcraft Version

Retail

Describe the bug

In conjunction with #352, when dragging a locked item to the bag icon to make a custom category, this lua error is generated

1x BetterBags/frames/bag.lua:308: bad argument #2 to 'format' (string expected, got nil)
[string "=[C]"]: in function `format'
[string "@BetterBags/frames/bag.lua"]:308: in function <BetterBags/frames/bag.lua:305>

Locals:
(*temporary) = "What would you like to name the new category for %s?"
(*temporary) = nil
(*temporary) = "string expected, got nil"

Steps to reproduce

cause an item to be locked via item interaction (placing an item in the mail, AH, or catalyst UIs)
drag the item to the bag icon to create a category

@zeptognome
Copy link
Collaborator Author

no longer an issue as betterbags don't touch itemlocks

@github-project-automation github-project-automation bot moved this from To Triage to Released in BetterBags Issue Tracker Aug 1, 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