[
https://issues.apache.org/jira/browse/SLING-293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Bocanegra closed SLING-293.
----------------------------------
thanks.
> bundle resource content loader should use default nodetype if non specified
> in the serialization
> ------------------------------------------------------------------------------------------------
>
> Key: SLING-293
> URL: https://issues.apache.org/jira/browse/SLING-293
> Project: Sling
> Issue Type: Bug
> Components: Resource
> Reporter: Tobias Bocanegra
> Assignee: Felix Meschberger
> Fix For: 2.0.0
>
>
> the primary node type of the 'nodes' that the content loader used to install
> bundled content is initialized with 'nt:unstructured'.
> this causes new nodes always to be created with 'nt:unstructured' even if no
> primary type is specified in the serialization.
> the correct way would be to use: Node.addNode(String name); and let the
> repository choose the correct nodetype.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.