You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Manfred Baedke (JIRA)" <ji...@apache.org> on 2019/04/12 17:15:00 UTC
[jira] [Comment Edited] (OAK-8232) Node#setPrimaryType(String) does
not create child nodes defined as autoCreated
[ https://issues.apache.org/jira/browse/OAK-8232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16816489#comment-16816489 ]
Manfred Baedke edited comment on OAK-8232 at 4/12/19 5:14 PM:
--------------------------------------------------------------
Attached patch proposal. It's working, but I'm unsure if the code should be moved elsewhere.
was (Author: baedke):
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)