shirsig / aux-addon

Auction House addOn for Classic (1.13) IMPORTANT: The folder name must be "aux-addon" IMPORTANT: The Vanilla (1.12) version moved here https://github.com/shirsig/aux-addon-vanilla
https://www.curseforge.com/wow/addons/aux
196 stars 42 forks source link

Lua error alt right clicking on an empty slot in bags #254

Closed sipertruk closed 5 years ago

sipertruk commented 5 years ago

While the aux window is shown.

Message: Interface\AddOns\aux-addon\util\info.lua:261: bad argument #1 to 'strfind' (string expected, got nil)
Time: Tue Oct  1 21:14:56 2019
Count: 1
Stack: Interface\AddOns\aux-addon\util\info.lua:261: bad argument #1 to 'strfind' (string expected, got nil)
[C]: in function `strfind'
Interface\AddOns\aux-addon\util\info.lua:261: in function `parse_link'
Interface\AddOns\aux-addon\core\shortcut.lua:8: in function <Interface\AddOns\aux-addon\core\shortcut.lua:6>
[C]: in function `HandleModifiedItemClick'
Interface\FrameXML\ContainerFrame.lua:1247: in function `ContainerFrameItemButton_OnModifiedClick'
[string "*:OnClick"]:10: in function <[string "*:OnClick"]:1>

Locals: (*temporary) = nil
(*temporary) = "%[(.-)%]"
(*temporary) = "string expected, got nil"
shirsig commented 5 years ago

Can it be reliably reproduced in some way? Could it be another addon that's calling this with nil?

sipertruk commented 5 years ago

No tiers addon loaded but aux, happens reliably on search and post tabs.

shirsig commented 5 years ago

thanks, it's fixed.