Haleth / Aurora

Minimalistic UI theme for World of Warcraft
Other
54 stars 23 forks source link

[Bug] Lua errors / compatibility issues with Wide Quest Log and Questie #272

Open boktai1000 opened 3 years ago

boktai1000 commented 3 years ago

Describe the bug Lua error on login when using addons such as Questie and WideQuestlog

To Reproduce Login with Addons enabled

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

Additional context Using Quest Addons Questie and WideQuestLog

Message: ...erface\AddOns\Aurora\Skin\FrameXML\QuestLogFrame.lua:23: attempt to index field '_minus' (a nil value) Time: Mon Jun 7 16:56:50 2021 Count: 9 Stack: ...erface\AddOns\Aurora\Skin\FrameXML\QuestLogFrame.lua:23: attempt to index field '_minus' (a nil value) [string "@Interface\AddOns\Aurora\Skin\FrameXML\QuestLogFrame.lua"]:23: in function <...erface\AddOns\Aurora\Skin\FrameXML\QuestLogFrame.lua:13> [string "=[C]"]: in function QuestLog_Update' [string "@Interface\FrameXML\QuestLogFrame.lua"]:59: in functionQuestLog_OnEvent'

Locals: Button = nil numEntries = 34 questIndex = 7 questLogTitle = QuestLogTitle7 { 0 = isHeader = true r = 0.700000 Text = QuestLogTitle7NormalText { } g = 0.700000 b = 0.700000 } isHeader = true _ = "Hellfire Citadel" (for index) = 7 (for limit) = 23 (for step) = 1 i = 7 (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = true (*temporary) = "attempt to index field '_minus' (a nil value)"

Zapa289 commented 3 years ago

@boktai1000 You'll have to add ## Dependencies: WideQuestLog to the Aurora.toc to fix compatibility with WideQuestLog. This lets the WideQuestLog create the wide frame and update _G.QUESTS_DISPLAYED which is consumed by Aurora later.