[ 
https://issues.apache.org/jira/browse/SLING-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632570#action_12632570
 ] 

Felix Meschberger commented on SLING-665:
-----------------------------------------

Taking over. The issue that SLING-667 split the node type definitions into 
three files causing the Event unit tests to not register the sling:Folder node 
type any more in the test repository. Will fix this.

> Two extensions/event tests fail, probably due to sling:folder changes
> ---------------------------------------------------------------------
>
>                 Key: SLING-665
>                 URL: https://issues.apache.org/jira/browse/SLING-665
>             Project: Sling
>          Issue Type: Bug
>          Components: Event
>            Reporter: Bertrand Delacretaz
>            Assignee: Felix Meschberger
>         Attachments: SLING-665.patch
>
>
> mvn clean test in extensions/event says:
> Tests in error: 
>   testWriteEvent(org.apache.sling.event.impl.DistributingEventHandlerTest)
>   
> testWriteEventPlusAppId(org.apache.sling.event.impl.DistributingEventHandlerTest)
> Due to, for example:
> javax.jcr.nodetype.ConstraintViolationException: no definition found in 
> parent node's node type for new node: no matching child node definition found 
> for {}Event-4711-1221744638373: no matching child node definition found for 
> {}Event-4711-1221744638373
>         at 
> org.apache.jackrabbit.core.NodeImpl.internalAddChildNode(NodeImpl.java:752)
> ...
>         at 
> org.apache.sling.event.impl.AbstractRepositoryEventHandler.writeEvent(AbstractRepositoryEventHandler.java:282)
>   

-- 
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