Searching in the bank window throws an error
SanjoSolutions opened this issue ยท 4 comments
Running Software:
- Addon version: Bagnon-10.0.14 for WoW-10.0.2
- Client version: 10.0.2 (47067)
Describe the bug
Searching in the bank window throws an error.
To Reproduce
Steps to reproduce the behaviour:
- Open the bank window from the bag window.
- Search for something (i.e. "h")
Expected behaviour
The items which match the search term are highlighted. Zero errors.
Screenshots
unfortunately bank searching seems to have been broken for some time, getting the same thing
Is this being looked at or fixed? Still broken on WOTLK classic. Bagnon unusable for searching with cached bank open. Other addons like Inventorian do cached bank searching just fine, but it uses a different version of BagBrother that is not compatible with Bagnon.
Edit: The error is being caused from C_Item.GetItemLink being fed a bag/slot combo refering to a bank location, but the function will complain with this error if you are not actually at the bank. But BagBrother is storing item links somewhere because I can open cached bank and see the contents. Why are we trying to pull live bank data when not at a bank when you can just used the cached bank contents and reconstruct the search manually without C_Item.GetItemLink ?