You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Alex Parvulescu <al...@gmail.com> on 2012/11/20 11:24:57 UTC

Node type support regression?

Hi all,

I've started to run the query tests again (OAK-237) and I see something
that can be a regression on jcr node type support (OAK-299):

The test SQL2OuterJoinTest [0] now fails with [1].

any ideas?

thanks,
alex

[0]
https://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SQL2QueryResultTest.java

[1]
javax.jcr.RepositoryException: No matching node definition found for
org.apache.jackrabbit.oak.jcr.WorkspaceImpl$2@bb0406
at
org.apache.jackrabbit.oak.plugins.nodetype.ReadOnlyNodeTypeManager.getDefinition(ReadOnlyNodeTypeManager.java:361)
at org.apache.jackrabbit.oak.jcr.NodeImpl.getDefinition(NodeImpl.java:967)
at org.apache.jackrabbit.oak.jcr.ItemImpl.checkProtected(ItemImpl.java:172)
at
org.apache.jackrabbit.oak.jcr.NodeImpl.internalSetProperty(NodeImpl.java:1460)
at org.apache.jackrabbit.oak.jcr.NodeImpl.setProperty(NodeImpl.java:377)
at
org.apache.jackrabbit.core.query.SQL2OuterJoinTest.setUp(SQL2OuterJoinTest.java:60)
at junit.framework.TestCase.runBare(TestCase.java:132)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:456)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at
org.apache.jackrabbit.test.ConcurrentTestSuite.access$001(ConcurrentTestSuite.java:29)
at
org.apache.jackrabbit.test.ConcurrentTestSuite$2.run(ConcurrentTestSuite.java:67)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:662)

Re: Node type support regression?

Posted by Alex Parvulescu <al...@gmail.com>.
fyi,

after investigating with Michael Duerig, we've (well, he actually) noticed
that the fix for JCR-3430 is only included in trunk so I've created OAK-467
to switch oak to jackrabbit trunk dependency again.

thanks,
alex

On Tue, Nov 20, 2012 at 11:24 AM, Alex Parvulescu <alex.parvulescu@gmail.com
> wrote:

> Hi all,
>
> I've started to run the query tests again (OAK-237) and I see something
> that can be a regression on jcr node type support (OAK-299):
>
> The test SQL2OuterJoinTest [0] now fails with [1].
>
> any ideas?
>
> thanks,
> alex
>
> [0]
> https://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/query/SQL2QueryResultTest.java
>
> [1]
> javax.jcr.RepositoryException: No matching node definition found for
> org.apache.jackrabbit.oak.jcr.WorkspaceImpl$2@bb0406
> at
> org.apache.jackrabbit.oak.plugins.nodetype.ReadOnlyNodeTypeManager.getDefinition(ReadOnlyNodeTypeManager.java:361)
>  at
> org.apache.jackrabbit.oak.jcr.NodeImpl.getDefinition(NodeImpl.java:967)
> at org.apache.jackrabbit.oak.jcr.ItemImpl.checkProtected(ItemImpl.java:172)
>  at
> org.apache.jackrabbit.oak.jcr.NodeImpl.internalSetProperty(NodeImpl.java:1460)
> at org.apache.jackrabbit.oak.jcr.NodeImpl.setProperty(NodeImpl.java:377)
>  at
> org.apache.jackrabbit.core.query.SQL2OuterJoinTest.setUp(SQL2OuterJoinTest.java:60)
> at junit.framework.TestCase.runBare(TestCase.java:132)
>  at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
>  at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:124)
>  at
> org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:456)
> at junit.framework.TestSuite.runTest(TestSuite.java:243)
>  at junit.framework.TestSuite.run(TestSuite.java:238)
> at junit.framework.TestSuite.runTest(TestSuite.java:243)
>  at
> org.apache.jackrabbit.test.ConcurrentTestSuite.access$001(ConcurrentTestSuite.java:29)
> at
> org.apache.jackrabbit.test.ConcurrentTestSuite$2.run(ConcurrentTestSuite.java:67)
>  at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
> Source)
> at java.lang.Thread.run(Thread.java:662)
>
>