casualshammy / DeathNote

World of Warcraft AddOn - Death analysis tool
https://www.wowace.com/projects/deathnote
6 stars 1 forks source link

Error #19

Closed igorrebolj closed 1 year ago

igorrebolj commented 1 year ago

Message: Interface/AddOns/DeathNote/Format.lua:596: attempt to call method 'SetHyperlink' (a nil value) Time: Sat Dec 31 12:21:17 2022 Count: 35 Stack: Interface/AddOns/DeathNote/Format.lua:596: attempt to call method 'SetHyperlink' (a nil value)

[string "=[C]"]: in function SetHyperlink' [string "@Interface/AddOns/DeathNote/Format.lua"]:596: in functionFormatTooltipSource' [string "@Interface/AddOns/DeathNote/UI.lua"]:1122: in function `column_onenter' [string "@Interface/AddOns/DeathNote/UI.lua"]:2198: in function <Interface/AddOns/DeathNote/UI.lua:2190>

Locals: (temporary) = true (temporary) = defined =[C]:-1

Merxxz commented 1 year ago

This is happening because lftip doesn't have the method SetHyperlink. If you add Mixin(lftip, GameTooltipDataMixin) to UI.lua after line 1034 it will prevent the error. However, only tooltips from the spell column actually have any text.

However, after 'mixing-in' the method I began to get a bunch of weird lua errors related to GameToolTip, so maybe that's not the best solution.

casualshammy commented 1 year ago

I hope this bug is fixed in 100002.2-release