jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-8246) Test failure: NodeSetPrimaryTypeTest.testSetPrimaryType()
Date Wed, 26 Jun 2019 09:44:00 GMT

     [ https://issues.apache.org/jira/browse/OAK-8246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Julian Reschke updated OAK-8246:
--------------------------------
    Labels: candidate_oak_1_8  (was: )

> Test failure: NodeSetPrimaryTypeTest.testSetPrimaryType()
> ---------------------------------------------------------
>
>                 Key: OAK-8246
>                 URL: https://issues.apache.org/jira/browse/OAK-8246
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>            Reporter: Marcel Reutegger
>            Assignee: Julian Reschke
>            Priority: Minor
>              Labels: candidate_oak_1_8
>             Fix For: 1.14.0
>
>
> After changes done for OAK-8232, there is now a test failure when running on MongoDB.
> https://travis-ci.org/apache/jackrabbit-oak/jobs/520361171
> {noformat}
> [ERROR] testSetPrimaryType(org.apache.jackrabbit.test.api.NodeSetPrimaryTypeTest)  Time
elapsed: 0.02 s  <<< ERROR!
> javax.jcr.RepositoryException: Unable to auto-create value for /testroot/node1/jcr:activityTitle
> 	at org.apache.jackrabbit.oak.plugins.tree.TreeUtil.autoCreateItems(TreeUtil.java:358)
> 	at org.apache.jackrabbit.oak.jcr.session.NodeImpl.internalSetPrimaryType(NodeImpl.java:1369)
> 	at org.apache.jackrabbit.oak.jcr.session.NodeImpl.access$700(NodeImpl.java:110)
> 	at org.apache.jackrabbit.oak.jcr.session.NodeImpl$25.performVoid(NodeImpl.java:959)
> 	at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performVoid(SessionDelegate.java:273)
> 	at org.apache.jackrabbit.oak.jcr.session.NodeImpl.setPrimaryType(NodeImpl.java:948)
> 	at org.apache.jackrabbit.test.api.NodeSetPrimaryTypeTest.testSetPrimaryType(NodeSetPrimaryTypeTest.java:63)
> {noformat}
> The test uses the node type nt:activity which has an auto-created property not supported
by {{TreeUtil.autoCreateItems()}}.



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

Mime
View raw message