[
https://issues.apache.org/jira/browse/SLING-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger updated SLING-665:
------------------------------------
Attachment: SLING-665.patch
Proposed patch:
* make Event node type extend nt:hierarchyNode
* include folder.cnd from jcr/resource module in test resources to have
sling:Folder for the tests
> 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
> 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.