Hi Jan, Jan Haderka wrote:
Hi Patrick, user defined types for data module are registered on the fly during module initialization so it is possible that they are not recognized yet while bootstrapping the data. You can try to bootstrap types definition as well to see if this helps.
It is possible to bootstrap the types. They are indeed initialized.
The other option is to write and register import handler for data module and have it start the import shortly after your instance is up and running and all types are registered already.
Yes, this would be a possible hack. But IMHO the data module should be able to do that on its own after having defined the types. Isn't that the goal of having two different directories 'mgnl-bootstrap' and 'mgnl-bootstrap-samples'? Thanks, Patrick ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
