GarrisonMissionBaseFrameTemplate broken
Hi all
I am building a new addon and had been using "GarrisonMissionBaseFrameTemplate" but as of 10.1 it is now throwing up an CreateFrame(): Couldn't find inherited node "GarrisonMissionBaseFrameTemplate" error. I really want to use that template as I really like the background texture. The strange issue is that if I run my addon with every other addon disabled I get the CreateFrame(): Couldn't find inherited node "GarrisonMissionBaseFrameTemplate" error, however, if I run every addon my frames work perfectly. I have been able to work this out. Why do my frames work correctly when I have multiple, (100+), addons enabled, but cease to work when I run it on its own? |
Do a search for that frame name string across the addon folders. I wouldn't be surprised if someone just created a global variable as an alternative frame name to what it was changed to .. one line change compared to multiple. This would then possibly make other addons using the old name be valid again ( if it was just a name change scenario ).
|
However, after some hunting down, I find the frame template still exists in 10.1
https://www.townlong-yak.com/framexm...mplates.xml#78 In fact comparing back to 7.0 that section of code doesn't appear to have changed. Something else must be causing the error - maybe a slight spelling error that you are not seeing ? |
It's part of the Blizzard_GarrisonTemplates addon which is LOD.
|
Thanks for the replies.
I fixed this by downloading the Blizzard_GarrisonSharedTemplates.xml file and storing it in my addon. This works but is it the proper way to solve this problem? |
I suspect the proper way would be to have 'Blizzard_GarrisonTemplates' as a required dependency so that it loads automatically ( or manually load it if the automatic part doesn't work with OnDemand Addons )
|
All times are GMT -6. The time now is 10:40 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI