Dear Magnolians

Bootstrapping is giving me a hard time… and I was hoping that some of you 
knowledgeable people could show me what I'm doing wrong.

I have two modules, A and B. 

- module A registeres a bunch of node types in getBasicInstallTasks()
- module A then registers a few more node types in deltas which are created and 
registered in the modules constructor with the register(Delte d) method
- module B has a (Magnolia) dependency on module A in its module descriptor
- module B has some data in mgnl-bootstrap-samples that also contains node of 
the types registered by be in a delta.

What I would expect:
Because of the dependency on module A in Bs module descriptor A is fully 
bootstrapped first, then B is bootstrapped.

What actually happens:
The node types which are registered in getBasicInstallTasks() of module A 
version handler. Then the sample data of module b is bootstrapped… which of 
course leads to an exception because the other node types are not found.

Why is it that the stuff in the delta of A is not executed before B is 
installed? Am I doing something wrong?

Thanks!
-will




----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to