Thread Tools Display Modes
Prev Previous Post   Next Post Next
05-23-20, 10:02 AM   #1
kaytotes
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 18
UIDropDownMenu Assumed Taint

I try to avoid posting bothering people on here with something that is probably trivial but I'm stumped and at my whits end. As far as I know this was working fine with 8.1 and 8.2 so maybe I missed something about API changes with 8.3.

Basically I'm getting the following in at least 2 places that have been found so far.

https://github.com/kaytotes/Improved...dUI/issues/139
https://github.com/kaytotes/Improved...dUI/issues/140

Clicking "Guild" on my micro menu.

The specific line in question being: https://github.com/kaytotes/Improved....lua#L108-L112

Code:
29x FrameXML\UIDropDownMenu.lua:340: attempt to index local 'listFrame' (a nil value)
[string "@FrameXML\UIDropDownMenu.lua"]:340: in function `UIDropDownMenu_AddButton'
[string "@Blizzard_Communities\ClubFinder.lua"]:559: in function `initFunction'
[string "@FrameXML\UIDropDownMenu.lua"]:76: in function `UIDropDownMenu_Initialize'
[string "@Blizzard_Communities\CommunitiesSettings.lua"]:43: in function <Blizzard_Communities\CommunitiesSettings.lua:34>
[string "=[C]"]: in function `LoadAddOn'
[string "@FrameXML\UIParent.lua"]:457: in function `UIParentLoadAddOn'
[string "@FrameXML\UIParent.lua"]:707: in function `Communities_LoadUI'
[string "@FrameXML\UIParent.lua"]:973: in function `ToggleCommunitiesFrame'
[string "@FrameXML\UIParent.lua"]:828: in function <FrameXML\UIParent.lua:807>
[string "=[C]"]: in function `securecall'
Attempting to favourite a set in collections.

Code:
31x FrameXML\UIDropDownMenu.lua:340: attempt to index local 'listFrame' (a nil value)
[string "@FrameXML\UIDropDownMenu.lua"]:340: in function `UIDropDownMenu_AddButton'
[string "@Blizzard_Communities\ClubFinder.lua"]:559: in function `initFunction'
[string "@FrameXML\UIDropDownMenu.lua"]:76: in function `UIDropDownMenu_Initialize'
[string "@Blizzard_Communities\CommunitiesSettings.lua"]:43: in function <Blizzard_Communities\CommunitiesSettings.lua:34>
[string "=[C]"]: in function `LoadAddOn'
[string "@FrameXML\UIParent.lua"]:457: in function `UIParentLoadAddOn'
[string "@FrameXML\UIParent.lua"]:707: in function `Communities_LoadUI'
[string "@FrameXML\UIParent.lua"]:973: in function `ToggleCommunitiesFrame'
[string "@FrameXML\UIParent.lua"]:828: in function <FrameXML\UIParent.lua:807>
[string "=[C]"]: in function `securecall'
[string "@ImprovedBlizzardUI\modules/bars/micromenu.lua"]:111: in function `func'
I've bounced around over the years so have seen the various issues with dropdown taint and have tried to pull in these two libs on seperate occasions to try solve the problem. Thinking this was the right course of action.

https://www.wowace.com/projects/libuidropdownmenu
https://www.wowinterface.com/downloa...pDownMenu.html

I build the micro menu here: https://github.com/kaytotes/Improved...romenu.lua#L39
Use it here: https://github.com/kaytotes/Improved...romenu.lua#L69

Swapping those out for the above replacements however hasn't solved the problem that I expected.

I am using the following 3rd party libs and wondered if maybe they could somehow be a cause but doubt it: LibStub, Ace3, CallbackHandler-1.0, LibSharedMedia-3.0, AceGUI-3.0-SharedMediaWidgets.

Basically. What am I doing wrong?

Last edited by kaytotes : 05-23-20 at 10:06 AM.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » UIDropDownMenu Assumed Taint

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off