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.

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.

Cheers,
Jan

On Fri, 2008-02-22 at 14:10 +0100, Patrick Aebischer wrote:
> Hello
> 
> 
> I am playing around with the data module. After defining some types I
> created some folders and items of that type, exported everything to
> XML and included it for bootstrapping.
> 
> The type files are under mgnl-bootstrap and the XML-file containing the 
> folders and items was placed under mgnl-bootstrap-samples. During
> bootstrapping I got a runtime exception caused by:
> 
> javax.jcr.nodetype.NoSuchNodeTypeException: {}myNodeType
> 
> 
> But if I don't put this file under mgnl-bootstrap-samples and import
> it afterwards into magnolia it works fine. Has anybody got such a
> data bootstrap working?
> 
> Thanks for any hint,
> 
>    Patrick
> 
> ----------------------------------------------------------------
> for list details see
> http://documentation.magnolia.info/docs/en/editor/stayupdated.html
> ----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to