115 - Load order of Masque/ButtonFacade can be go wrong because of misconfig in Masque.toc
ButtonFacade.toc
## Dependencies: Masque
Masque.toc
## OptionalDeps: Ace3, ButtonFacade
The problem is that wow doesn't let Dependencies override OptionalDeps. In this case Aura Frames have an OptionalDeps on Masque and because of the name (Aura Frames) it gets loaded first. WoW will then load Masque because of the OptionalDeps in Aura Frames, while loading Masque wow finds the OptionalDeps in Masque.toc and will start loading ButtonFacade before enabling (running the code of) Masque. ButtonFacade will fail because it won't find Masque thru LibStub.
To fix this remove the OptionalDeps on ButtonFacade in Masque.toc Aura Frames is temporary fixed by having an OptionalDeps on ButtonFacade and not on Masque.
On a side note, while working on this problem I found out that WoW will cache the OptionalDeps and Dependencies in the TOC files and won't update it. So you need to restart wow after each change :(
| User | When | Change |
|---|---|---|
| Beautiuz | Oct 29, 2011 at 20:38 UTC | Create |
- 1 comment
- 1 comment
- Reply
- #1
StormFX Oct 30, 2011 at 17:20 UTC - 0 likesI'll have it fixed with the next alpha.