LUA error when opening work order or profession window
hollo6 opened this issue ยท 3 comments
I got the following LUA error when opening a Public Work Order for "S.A.V.I.O.R.":
1x ...faceCraftSim/Modules/CostOverview/Frames.lua:50: attempt to concatenate field 'link' (a nil value)
[string "@CraftSim/Modules/CostOverview/Frames.lua"]:50: in function Fill' [string "@CraftSim/Modules/CostOverview/CostOverview.lua"]:19: in function
CalculateCostOverview'
[string "@CraftSim/Main/CraftSim.lua"]:611: in function TriggerModulesByRecipeType' [string "@CraftSim/Main/CraftSim.lua"]:169: in function
TriggerModulesErrorSafe'
[string "@CraftSim/Main/CraftSim.lua"]:202: in function <CraftSim/Main/CraftSim.lua:187>
[string "=[C]"]: ?
[string "=[C]"]: in function Init' [string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeSchematicForm.lua"]:191: in function <...emplates/Blizzard_ProfessionsRecipeSchematicForm.lua:185> [string "=[C]"]: in function
Show'
[string "@Blizzard_Professions/Blizzard_ProfessionsCrafterOrderPage.lua"]:766: in function `ViewOrder'
[string "@Blizzard_Professions/Blizzard_ProfessionsCrafterOrderPage.lua"]:63: in function <...Professions/Blizzard_ProfessionsCrafterOrderPage.lua:58>
Locals:
self =
Init = defined @CraftSim/Modules/CostOverview/Frames.lua:68
Fill = defined @CraftSim/Modules/CostOverview/Frames.lua:13
}
craftingCosts = 27657000
minCraftingCosts = 18041300
profitPerQuality =
1 = -27657000
2 = -27657000
3 = -27657000
}
currentQuality = 1
exportMode = 1
costOverviewFrame = CraftSimCostOverviewWOFrame {
BottomLeftCorner = Texture {
}
OnBackdropLoaded = defined @SharedXML/Backdrop.lua:152
GetBackdropColor = defined @SharedXML/Backdrop.lua:390
SetTransparency = defined @CraftSim/Util/Frames.lua:399
TopLeftCorner = Texture {
}
RightEdge = Texture {
}
decollapse = defined @CraftSim/Util/Frames.lua:284
ApplyBackdrop = defined @SharedXML/Backdrop.lua:294
SetBackdrop = defined @SharedXML/Backdrop.lua:329
ClearBackdrop = defined @SharedXML/Backdrop.lua:282
GetBackdropBorderColor = defined @SharedXML/Backdrop.lua:409
title = FontString {
}
collapsed = false
SetBorderBlendMode = defined @SharedXML/Backdrop.lua:266
originalX = 350
hookFrame = Frame {
}
resetPosition = defined @CraftSim/Util/Frames.lua:378
backdropInfo =
}
OnBackdropSizeChanged = defined @SharedXML/Backdrop.lua:182
TopRightCorner = Texture {
}
content = Frame {
}
collapse = defined @CraftSim/Util/Frames.lua:272
originalY = 400
BottomRightCorner = Texture {
}
GetEdgeSize = defined @SharedXML/Backdrop.lua:188
0 =
closeButton = Button {
}
TopEdge = Texture {
}
Center = Texture {
}
BottomEdge = Texture {
}
enabledLinks = true
SetupTextureCoordinates = defined @SharedXML/Backdrop.lua:214
HasBackdropInfo = defined @SharedXML/Backdrop.lua:278
SetBackdropBorderColor = defined @SharedXML/Backdrop.lua:422
collapseButton = Button {
}
SetupPieceVisuals = defined @SharedXML/Backdrop.lua:246
SetBackdropColor = defined @SharedXML/Backdrop.lua:399
LeftEdge = Texture {
}
GetBackdrop = defined @SharedXML/Backdrop.lua:347
}
recipeData =
hasReagentsWithQuality = true
baseItemAmount = 2
maxQuality = 3
possibleSalvageReagents =
}
recipeIcon = 4548854
extraItemFactors =
}
currentTransaction =
}
learned = false
maxReagentSkillIncreaseFactor = 0.248571
professionID = 8
recipeType = 4
professionInfo =
}
reagents =
}
isEnchantingRecipe = false
baseDifficulty = 350
recipeID = 382328
bonusDifficulty = 0
categoryID = 1710
possibleFinishingReagents =
}
result =
}
ContinueOnResultItemsLoaded = defined @CraftSim/Data/DataExport.lua:870
operationInfo =
}
recipeName = "S.A.V.I.O.R."
stats =
}
numSkillUps = 1
isRecraft = false
possibleOptionalReagents =
}
recipeDifficulty = 350
numReagentsWithQuality = 4
hasSingleItemOutput = true
expectedQuality = 1
finishingReagents =
}
subtypeID = 0
optionalReagents =
}
}
(for generator) = defined =[C]:-1
(for state) =
1 = Frame {
}
2 = Frame {
}
3 = Frame {
}
4 = Frame {
}
5 = Frame {
}
}
(for control) = 2
index = 2
profitFrame = Frame {
0 =
text = FontString {
}
itemLinkText = FontString {
}
enabledLinks = true
}
qualityID = 2
itemCount = 0
itemData =
name = "Fetching Item.."
}
(*temporary) = defined =[C]:-1
(*temporary) = FontString {
0 =
}
(*temporary) = nil
(*temporary) = " x 0"
(*temporary) = "0"
(*temporary) = nil
(*temporary) = "attempt to concatenate field 'link' (a nil value)"
It seems to be item specific - I can't craft this item but the error won't pop up with other ones I can't make.
Edit: it also pops up for Fierce Illimited Diamond but not Elemental Lariat (I can make neither).
No sign of it for any recipes I can craft, though I could only check with Treatises since work orders are extremely hard to find.