CraftSim

CraftSim

2M Downloads

[CraftQueue] nil rowData error with Auctionator Quickbuy

mbattersby opened this issue ยท 0 comments

commented

Describe the bug

Lua error about nil rowData when using /craftsim quickbuy from macro.

8x ...ceCraftSim/Modules/CraftQueue/CraftQueue.lua:1166: attempt to index field 'rowData' (a nil value)
[string "@CraftSim/Modules/CraftQueue/CraftQueue.lua"]:1166: in function `AuctionatorQuickBuy'
[string "@CraftSim/Modules/CraftQueue/CraftQueue.lua"]:1181: in function `AuctionatorQuickBuy'
[string "@CraftSim/Init/Init.lua"]:487: in function `?'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5479: in function `ChatEdit_ParseText'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5131: in function `ChatEdit_SendText'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:3308: in function <Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:3302>
[string "=[C]"]: in function `UseAction'
[string "@Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:342: in function `handler'
[string "@Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:667: in function <...ddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua:649>
[string "@Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:681: in function <...ddOns/Blizzard_FrameXML/Mainline/SecureTemplates.lua:674>
[string "@Blizzard_FrameXML/Mainline/SecureTemplates.lua"]:723: in function `SecureActionButton_OnClick'
[string "@Blizzard_ActionBar/Mainline/ActionButton.lua"]:1448: in function <Blizzard_ActionBar/Mainline/ActionButton.lua:1418>
[string "=[C]"]: ?

Locals:
self = Frame {
 craftQueue = <table> {
 }
 UI = <table> {
 }
 queueRecipeButton = <table> {
 }
 quickBuyCache = <table> {
 }
 queueRecipeButtonOptions = <table> {
 }
 CraftSimCalledCraftRecipe = false
 queueRecipeButtonOptionsWO = <table> {
 }
 queueRecipeButtonWO = <table> {
 }
 frame = <table> {
 }
}
qbCache = <table> {
 resultRows = <table> {
 }
 purchasePending = false
 status = "RESULT_LIST_READY"
 currentSearchString = ""Codified Greenwood";;;;;;;;;;;1;;4"
 boughtSearchStrings = <table> {
 }
}
listManager = <table> {
}
listName = "CraftSim CraftQueue"
listsContainer = Frame {
 expandedList = <table> {
 }
 Inset = Frame {
 }
 ScrollBar = Frame {
 }
 ScrollBox = Frame {
 }
 SpinnerAnim = AnimationGroup {
 }
 LoadingSpinner = Texture {
 }
 ResultsText = FontString {
 }
}
resultsList = Frame {
 ScrollArea = Frame {
 }
 CustomiseDropDown = Frame {
 }
 HeaderContainer = Frame {
 }
 tableBuilder = <table> {
 }
 columnSpecification = <table> {
 }
 dataProvider = Frame {
 }
 isInitialized = true
}
listIndex = 2
list = <table> {
 data = <table> {
 }
 manager = <table> {
 }
}
allItemSearchStrings = <table> {
 1 = ""Boundless Cipher";;;;;;;;;;;1;;1"
}
numItems = <table> {
 1 = ""Boundless Cipher";;;;;;;;;;;1;;1"
}
buyShoppingListSearchString = ""Boundless Cipher";;;;;;;;;;;1;;1"
resultRow = Frame {
 HighlightTexture = Texture {
 }
 cells = <table> {
 }
 dataIndex = 2
 NormalTexture = Texture {
 }
 SelectedHighlight = Texture {
 }
}
(*temporary) = nil
(*temporary) = true
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'rowData' (a nil value)"
CraftSim = <table> {
 COOLDOWNS = <table> {
 }
 STATISTICS = <table> {
 }
 OPTIONAL_REAGENT_DATA = <table> {
 }
 NEWS = <table> {
 }
 OnCraftData = <table> {
 }
 DEBUG = <table> {
 }
 PRICE_DETAILS = <table> {
 }
 CRAFT_LOG = Frame {
 }
 WIDGETS = <table> {
 }
 ProfessionGear = <table> {
 }
 CRAFT_BUFFS = Frame {
 }
 NodeData = <table> {
 }
 PRICE_OVERRIDE = <table> {
 }
 ConcentrationData = <table> {
 }
 LOCAL_MX = <table> {
 }
 ENCHANT_RECIPE_DATA = <table> {
 }
 REAGENT_DATA = <table> {
 }
 COST_OPTIMIZATION = <table> {
 }
 EXPLANATIONS = <table> {
 }
 LibCompress = <table> {
 }
 TopGearResult = <table> {
 }
 ReagentData = <table> {
 }
 LOCAL_DE = <table> {
 }
 CONCENTRATION_TRACKER = <table> {
 }
 SUPPORTERS = <table> {
 }
 LibGraph = <table> {
 }
 OptionalReagentSlot = <table> {
 }
 Reagent = <table> {
 }
 PRICE_APIS = <table> {
 }
 LOCAL_FR = <table> {
 }
 SPECIALIZATION_DATA = <table> {
 }
 PRICE_SOURCE = <table> {
 }
 UTIL = <table> {
 }
 LOCAL_ES = <table> {
 }
 CraftSimObject = <table> {
 }
 PerkData = <table> {
 }
 ITEM_COUNT = Frame {
 }
 TOPGEAR = <table> {
 }
 PriceData = <table> {
 }
 OptionalReagent = <table> {
 }
 CONCENTRATION_CURVE_DATA = <table> {
 }
 LOCAL_IT = <table> {
 }
 CONTROL_PANEL = <table> {
 }
 CraftQueueItem = <table> {
 }
 ResultData = <table> {
 }
 CraftQueue = <table> {
 }
 RECIPE_SCAN = <table> {
 }
 AVERAGEPROFIT = <table> {
 }
 BagBuff = <table> {
 }
 Buff = <table> {
 }
 BuffData = <table> {
 }
 SIMULATION_MODE = <table> {
 }
 JSONBuilder = <table> {
 }
 OPTIONS = <table> {
 }
 CraftRecipeData = <table> {
 }
 INIT = Frame {
 }
 CALC = <table> {
 }
 ProfessionGearSet = <table> {
 }
 SpecializationData = <table> {
 }
 ProfessionData = <table> {
 }
 LOCAL_RU = <table> {
 }
 CraftSessionData = <table> {
 }
 ProfessionStats = <table> {
 }
 CraftResultItem = <table> {
 }
 LOCAL_CN = <table> {
 }
 CraftResult = <table> {
 }
 DB = <table> {
 }
 ReagentOptimizationResult = <table> {
 }
 ProfessionStat = <table> {
 }
 Statweights = <table> {
 }
 SalvageReagentSlot = <table> {
 }
 CraftResultReagent = <table> {
 }
 GUTIL = <table> {
 }
 CUSTOMER_HISTORY = Frame {
 }
 ReagentListItem = <table> {
 }
 REAGENT_OPTIMIZATION = <table> {
 }
 ReagentItem = <table> {
 }
 LOCAL_EN = <table> {
 }
 COMM = <table> {
 }
 FRAME = <table> {
 }
 RecipeData = <table> {
 }
 LOCAL_KO = <table> {
 }
 LOCAL_TW = <table> {
 }
 Object = <table> {
 }
 LOCAL_PT = <table> {
 }
 LibIcon = <table> {
 }
 LOCAL = <table> {
 }
 CooldownData = <table> {
 }
 PRICE_A

To Reproduce
Steps to reproduce the behavior:

  1. Open Inscription table
  2. Crafting Orders
  3. Patron
  4. Open CraftQueue
  5. Queue Work Orders
  6. Create Auctionator Shopping List
  7. Close Inscription interface
  8. Open AH
  9. Auctionator Selling tab
  10. /craftsim quickbuy

Expected behavior
n/a

Screenshots
n/a

Addon Version: [e.g. 19.7.1]

19.7.0

Additional context