Masque

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

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of StormFX StormFX Oct 30, 2011 at 17:20 UTC - 0 likes

    I'll have it fixed with the next alpha.

  • 1 comment

Facts

Reported
Oct 29, 2011
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees