[ 
https://issues.apache.org/jira/browse/SLING-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Juan Jose Vazquez Delgado updated SLING-859:
--------------------------------------------


"no definition found in parent node's node type for new node: no matching child 
node definition found for {}servicemix 
javax.jcr.nodetype.ConstraintViolationException"

This exception says you´re trying to create a "servicemix" node as child of a 
no "nt:unstructured" node. Please, can you attach how is your node hierarchy?.

> option overwrite:=true
> ----------------------
>
>                 Key: SLING-859
>                 URL: https://issues.apache.org/jira/browse/SLING-859
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR Contentloader
>         Environment: MS Windows XP, intel core 2 duo
>            Reporter: Vladislav Krejcirik
>            Assignee: Juan Jose Vazquez Delgado
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> I have this in my pom.xml:
>  <plugin>
>                <groupId>org.apache.felix</groupId>
>                <artifactId>maven-bundle-plugin</artifactId>
>                <extensions>true</extensions>
>                <configuration>
>                    <instructions>
>                        <Sling-Initial-Content>
>                            initial-content;overwrite:=true
>                        </Sling-Initial-Content>
>                    </instructions>
>                </configuration>
>            </plugin>
>  But if I reinstall bundle I have still old files in Sling.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to