Classic Era: Lua error attempting to sell an item where only 1 exists on AH as "bid only" - Post button unusable.
cr0ok opened this issue ยท 2 comments
Please include as much of the following information as possible to help me fix the bug:
Wow Classic Era: Post button is not clickable after getting a Lua error when attempting to sell an item where only 1 exists on AH as "bid only available"
Steps to Reproduce
Post an item on the AH which doesn't already exist on the AH, and don't set a buyout value. Use Aut
Loaded Addons
None
Back Trace (LUA Error Output)
8x ...ator\Source_Classic\Tabs\Selling\Mixins\SaleItem.lua:22: attempt to perform arithmetic on local 'amount' (a nil value)
[string "@Auctionator\Source_Classic\Tabs\Selling\Mixins\SaleItem.lua"]:22: in function <...ator\Source_Classic\Tabs\Selling\Mixins\SaleItem.lua:13>
[string "@Auctionator\Source_Classic\Tabs\Selling\Mixins\SaleItem.lua"]:326: in function `ReceiveEvent'
[string "@Auctionator\Source\Utilities\EventBusMixin.lua"]:77: in function `Fire'
[string "@Auctionator\Source_Classic\Tabs\DataProviders\BuyAuctions.lua"]:326: in function `SetSelectedIndex'
[string "@Auctionator\Source_Classic\Tabs\DataProviders\BuyAuctions.lua"]:118: in function `ReceiveEvent'
[string "@Auctionator\Source\Utilities\EventBusMixin.lua"]:77: in function `Fire'
[string "@Auctionator\Source_Classic\AH\Mixins\Scan.lua"]:94: in function `ProcessSearchResults'
[string "@Auctionator\Source_Classic\AH\Mixins\Scan.lua"]:39: in function <Auctionator\Source_Classic\AH\Mixins\Scan.lua:36>
Locals:
amount = nil
salesPreference = "static"
undercutAmount = 1
(*temporary) = <function> defined =[C]:-1
(*temporary) = 0
(*temporary) = 1
(*temporary) = "attempt to perform arithmetic on local 'amount' (a nil value)"
Found the bug, fixed it, and it will be in the latest alpha (available in a few minutes) and will go with the next normal release.