ALL THE THINGS

ALL THE THINGS

31M Downloads

Lua Error Fix?

Closed this issue ยท 2 comments

commented

Which flavo(u)r(s) of WoW are you using?

Season of Discovery

Which server realm(s) are you in?

No response

What build number of WoW?

No response

Which version of ATT?

Latest release

What build number of ATT?

No response

What isn't working? What was supposed to happen?

Message: ...ace/AddOns/AllTheThings/src/Classes/Item.Classic.lua:176: attempt to get length of a nil value
Time: Sat Apr 26 20:58:46 2025
Count: 2
Stack:
[C]: ?
[Interface/AddOns/AllTheThings/src/Classes/Item.Classic.lua]:176: in function <...ace/AddOns/AllTheThings/src/Classes/Item.Classic.lua:174>
[tail call]: ?
[Interface/AddOns/AllTheThings/src/Classes/Transmog.lua]:973: in function <...terface/AddOns/AllTheThings/src/Classes/Transmog.lua:913>
[Interface/AddOns/AllTheThings/src/Classes/Transmog.lua]:1129: in function 'Process'
[Interface/AddOns/AllTheThings/src/Settings/Pages/Interface - Information.lua]:1132: in function 'ProcessInformationTypesForExternalTooltips'
[Interface/AddOns/AllTheThings/src/Modules/Tooltip.lua]:713: in function <...nterface/AddOns/AllTheThings/src/Modules/Tooltip.lua:702>
[Interface/AddOns/AllTheThings/src/Modules/Tooltip.lua]:743: in function <...nterface/AddOns/AllTheThings/src/Modules/Tooltip.lua:731>
[Interface/AddOns/AllTheThings/src/Modules/Tooltip.lua]:1179: in function <...nterface/AddOns/AllTheThings/src/Modules/Tooltip.lua:1072>
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: ?

Locals:

Screenshot

No response

Steps to reproduce the behavior.

When you hover over a class item this error show's up

Are you experiencing any lua errors?

No response

Anything else?

No response

commented

Experiencing this issue on MOP Classic Beta as well.

commented

This was fixed in ef09d81 and was caused due to the Item class being used when itemID was nil on the table since the Item class is a base for the ItemWithAppearance class and it is possible to define an appearance first and thereafter derive the item portion of the data.