NielsHeltner / wowhead-quick-link

World of Warcraft Addon that allows you to quickly look up anything on Wowhead without having to manually search for it.
GNU General Public License v3.0
7 stars 4 forks source link

Lua error on chest world object #26

Closed cremor closed 1 year ago

cremor commented 1 year ago

If I use the addon's shortcut on the object Enchanted Box then the following error is thrown:

1x ...dOns/WowheadQuickLink/WowheadQuickLinkStrategies.lua:403: attempt to index local 'parent' (a nil value)
[string "@WowheadQuickLink/WowheadQuickLinkStrategies.lua"]:403: in function `strategy'
[string "@WowheadQuickLink/WowheadQuickLinkStrategies.lua"]:49: in function `strategy'
[string "@WowheadQuickLink/WowheadQuickLink.lua"]:26: in function <WowheadQuickLink/WowheadQuickLink.lua:24>
[string "@WowheadQuickLink/WowheadQuickLink.lua"]:42: in function `RunWowheadQuickLink'
[string "WOWHEAD_QUICK_LINK_NAME"]:1: in function <[string "WOWHEAD_QUICK_LINK_NAME"]:1>

Locals:
data = <table> {
 tooltip = GameTooltip {
 }
 focus = WorldFrame {
 }
}
parent = nil
(*temporary) = WorldFrame {
 0 = <userdata>
}
(*temporary) = nil
(*temporary) = "attempt to index local 'parent' (a nil value)"
vaindil commented 1 year ago

Silly bug on my part, version 2.15.7 was just published to fix this, Thanks for the report!