Auctionator

Auctionator

133M Downloads

[10.1.30] Custom Duration for favorites group not working if it is not "default", and throwing error

tflo opened this issue · 1 comments

commented

Setting any custom Duration for a fav group other than "default" results in a no-duration (i.e. none of the Duration radio buttons is checked when a member of the group is selected) and this – looping – error:

2827x Usage: local depositCost = C_AuctionHouse.CalculateItemDeposit(item, duration, quantity)
2827x Usage: local depositCost = C_AuctionHouse.CalculateItemDeposit(item, duration, quantity)
[string "=[C]"]: in function `CalculateItemDeposit'
[string "@Auctionator/Source_Mainline/Tabs/Selling/Mixins/SaleItem.lua"]:171: in function `GetDeposit'
[string "@Auctionator/Source_Mainline/Tabs/Selling/Mixins/SaleItem.lua"]:578: in function `GetPostButtonState'
[string "@Auctionator/Source_Mainline/Tabs/Selling/Mixins/SaleItem.lua"]:636: in function `UpdatePostButtonState'
[string "@Auctionator/Source_Mainline/Tabs/Selling/Mixins/SaleItem.lua"]:202: in function `ReceiveEvent'
[string "@Auctionator/Source/Utilities/EventBusMixin.lua"]:77: in function `Fire'
[string "@Auctionator/Source_Mainline/AH/Mixins/Throttling.lua"]:42: in function <...Auctionator/Source_Mainline/AH/Mixins/Throttling.lua:24>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `SendSearchQuery'
[string "@Auctionator/Source_Mainline/AH/Wrappers.lua"]:14: in function `rawSearch'
...
[string "@Auctionator/Source_Mainline/AH/Mixins/ItemKeyLoader.lua"]:36: in function `Get'
[string "@Auctionator/Source_Mainline/AH/Wrappers.lua"]:82: in function `GetItemKeyInfo'
[string "@Auctionator/Source_Mainline/Tabs/Selling/Mixins/SaleItem.lua"]:185: in function `ReceiveEvent'
[string "@Auctionator/Source/Utilities/EventBusMixin.lua"]:77: in function `Fire'
[string "@Auctionator/Source/Tabs/Selling/Mixins/BagUse.lua"]:72: in function <...ns/Auctionator/Source/Tabs/Selling/Mixins/BagUse.lua:65>
[string "=[C]"]: ?
[string "@SharedXML/CallbackRegistry.lua"]:178: in function <SharedXML/CallbackRegistry.lua:177>
[string "=[C]"]: ?
[string "@SharedXML/CallbackRegistry.lua"]:181: in function `TriggerEvent'
[string "@Auctionator/Source/Groups/ViewItem.lua"]:77: in function <Auctionator/Source/Groups/ViewItem.lua:68>

Locals:
(*temporary) = "Usage: local depositCost = C_AuctionHouse.CalculateItemDeposit(item, duration, quantity)"

Probably the error comes from the missing duration parameter, and should go away automatically once the custom durations are working.

Auctionator 10.1.30; WoW 10.1.7.51754 en-US

commented

Added a fix for this in 10.1.32