jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Evans (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1015) unregisterNodeType not implemented
Date Sun, 08 Jul 2007 18:00:12 GMT
unregisterNodeType not implemented
----------------------------------

                 Key: JCR-1015
                 URL: https://issues.apache.org/jira/browse/JCR-1015
             Project: Jackrabbit
          Issue Type: Improvement
    Affects Versions: 1.3
         Environment: All
            Reporter: Rob Evans
             Fix For: 1.3.1


Looks like the unregisterNotType method has not been implemented. 

The following call throws a RepositoryException:  registry.unregisterNodeType(registeredNodeType.getName());


javax.jcr.RepositoryException: not yet implemented
	at org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.checkForReferencesInContent(NodeTypeRegistry.java:844)
	at org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.unregisterNodeTypes(NodeTypeRegistry.java:251)
	at org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.unregisterNodeType(NodeTypeRegistry.java:287)
	at eman.ism.api.atom.server.provider.jcr.JcrProvider.registerCustomNodeTypes(JcrProvider.java:108)
	at eman.ism.api.atom.server.provider.jcr.JcrProvider.connectToDataSource(JcrProvider.java:66)
	at eman.ism.api.atom.server.provider.jcr.JcrProvider.<init>(JcrProvider.java:61)
	at eman.ism.api.atom.server.provider.jcr.JcrProviderTest.testPOSTFeed(JcrProviderTest.java:30)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:164)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message