Error for missions with unlimited offer time
Cyrrian opened this issue ยท 0 comments
Getting the below error for missions without an expiration.
OrderHallCommander\missionlist.lua:913: bad argument #3 to 'SetFormattedText' (string expected, got nil)
[string "=[C]"]: in function `SetFormattedText'
[string "@OrderHallCommander\missionlist.lua"]:913: in function `AdjustMissionButton'
[string "@OrderHallCommander\missionlist.lua"]:407: in function `OnSingleUpdate'
[string "@OrderHallCommander\missionlist.lua"]:589: in function `RedrawMissions'
[string "@OrderHallCommander\missionlist.lua"]:369: in function <OrderHallCommander\missionlist.lua:368>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `Update'
[string "@Blizzard_GarrisonUI\Blizzard_GarrisonMissionUI.lua"]:921: in function <...s\Blizzard_GarrisonUI\Blizzard_GarrisonMissionUI.lua:901>
[string "=(tail call)"]: ?
[string "@OrderHallCommander\missionlist.lua"]:581: in function `ReloadMissions'
[string "@OrderHallCommander\missionlist.lua"]:745: in function <OrderHallCommander\missionlist.lua:726>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `Show'
[string "@FrameXML\UIParent.lua"]:2910: in function `SetUIPanel'
[string "@FrameXML\UIParent.lua"]:2716: in function `ShowUIPanel'
[string "@FrameXML\UIParent.lua"]:2623: in function <FrameXML\UIParent.lua:2619>
[string "=[C]"]: in function `SetAttribute'
[string "@FrameXML\UIParent.lua"]:3468: in function `ShowUIPanel'
[string "@FrameXML\UIParent.lua"]:1954: in function <FrameXML\UIParent.lua:1269>
[string "=[C]"]: ?
Locals:
(*temporary) = <unnamed> {
0 = <userdata>
}
(*temporary) = "%s
%s"
(*temporary) = "Mission Expires"
(*temporary) = nil
(*temporary) = "string expected, got nil"