jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manfred Baedke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-8232) Node#setPrimaryType(String) does not create child nodes defined as autoCreated
Date Fri, 12 Apr 2019 17:13:00 GMT

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

Manfred Baedke commented on OAK-8232:
-------------------------------------

Attached proposed patch. It's working, but I'm unsure if the code should be moved elsewhere.

> Node#setPrimaryType(String) does not create child nodes defined as autoCreated
> ------------------------------------------------------------------------------
>
>                 Key: OAK-8232
>                 URL: https://issues.apache.org/jira/browse/OAK-8232
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>    Affects Versions: 1.12.0
>            Reporter: Manfred Baedke
>            Priority: Minor
>         Attachments: oak-8232-testcase.patch, oak-8232.patch
>
>
> In contrast to Node#addNode(String, String), Node#setPrimaryType(String) does not create
child nodes that are defined as autoCreated. See attached failing test case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message