Stanzilla / WoWUIBugs

World of Warcraft UI Bug Tracker
166 stars 7 forks source link

10.2.0: Addon compartment doesn't register any addons from TOC metadata #473

Closed Meorawr closed 1 year ago

Meorawr commented 1 year ago

In patch 10.2.0 build 51239 the addon compartment fails to register any addons that supply the AddonCompartmentFunc field in their TOC file.

The cause of this appears to be a change to the loadable state of addons at the point when the addon compartment loads; this call to C_AddOns.GetAddOnInfo within the OnLoad script of the AddonCompartmentFrame is returning false, "INSECURE" for loadable and reason respectively, preventing the compartment from adding any insecure addons to the registeredAddons table.

If you execute /run AddonCompartmentFrame:OnLoad() by hand after the UI has fully loaded, C_AddOns.GetAddOnInfo will at that point no longer be marking addons as unloadable and the addon compartment populates correctly.

zealvurte commented 1 year ago

Seems to be working again in build 51425.