LFM+

LFM+

10.2k Downloads

Dropdown menu Error

gaveer opened this issue ยท 5 comments

commented
[string "@Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0-2/LibDropDownExtension.lua"]:696: in main chunk

Locals:
MAJOR = "LibDropDownExtension-1.0"
MINOR = 2
Lib = <table> {
 _callbacks = <table> {
 }
 _cdropdowns = <table> {
 }
}
LibPrevMinor = 1
callbacks = <table> {
}
cdropdowns = <table> {
}
CustomDropDownButton_OnClick = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:125
CustomDropDownButton_OnEnter = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:163
CustomDropDownButton_OnLeave = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:209
CustomDropDownButton_OnEnable = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:223
CustomDropDownButton_OnDisable = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:228
CustomDropDownButton_InvisibleButton_OnEnter = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:232
CustomDropDownButton_InvisibleButton_OnLeave = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:254
CustomDropDownButton_ColorSwatch_OnClick = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:258
CustomDropDownButton_ColorSwatch_OnEnter = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:264
CustomDropDownButton_ColorSwatch_OnLeave = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:272
NewCustomDropDownButton = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:280
CustomDropDown_OnShow = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:321
Hide = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:337
NewCustomDropDown = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:344
SortDropDownButtons = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:375
ClearDropDown = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:380
AppendDropDown = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:391
RefreshButton = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:417
RefreshButtons = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:618
GetCustomDropDown = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:658
IsOptionValid = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:668
CopyOptions = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:674
RemoveInvalidOptions = <function> defined @Interface/AddOns/LFMPlus/libs/LibDropDownExtension-1.0/LibDropDownExtension.lua:687
(*temporary) = <table> {
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'Option' (a nil value)"
commented
commented

Thank you for the report @gaveer.

Sadly, I think this error may be unavoidable due to the inherit functions of addons Like LFM+. The issue here is that we are modifying the result list returned after a search has been done. Since we are unsecured code, this results in a taint which in turn causes errors for any secure code calling values from our tainted results list. I will attempt to get around this error this weekend but if I cannot it may mean that either players will need to live with this error, or I allow said players to reduce functionality (filtering results).

commented

Error above seems to caused by outdated libs LibUIDropDownMenu, LibDropDownExtension-1.0 Updating libs makes error go away.

commented

Error above seems to caused by outdated libs LibUIDropDownMenu, LibDropDownExtension-1.0 Updating libs makes error go away.

You are right. After updating libs I do not get the error above. I was getting this error and another one mixed up. Thank you for the info @tomrus88

commented

Fixed in v1.6.9