[ 
https://issues.apache.org/jira/browse/JCR-4741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17562677#comment-17562677
 ] 

Konrad Windszus edited comment on JCR-4741 at 7/5/22 1:46 PM:
--------------------------------------------------------------

I haven't tried with Oak, but JR2 works as expected (according to spec). IIRC 
you created this ticket initially triggered by OAK-9621 (which is only about 
mandatory residual nodes).



was (Author: kwin):
I haven't tried with Oak, but JR2 works as expected (according to spec). 


> add test coverage for mandatory non-residual child nodes
> --------------------------------------------------------
>
>                 Key: JCR-4741
>                 URL: https://issues.apache.org/jira/browse/JCR-4741
>             Project: Jackrabbit Content Repository
>          Issue Type: Task
>          Components: test
>            Reporter: Julian Reschke
>            Assignee: Konrad Windszus
>            Priority: Minor
>             Fix For: 2.22
>
>         Attachments: JCR-4741-v01.patch, JCR-4741-v02.patch
>
>
> The enforcement should be covered by tests which try to
> - create a node with missing mandatory child node
> - delete a mandatory child node (already covered in 
> https://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeTest.java?revision=1776914&view=markup#l514)
> - create a node with mandatory child node (already covered in 
> https://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeTest.java?revision=1776914&view=markup#l514);



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to