Details
-
Bug
-
Resolution: Done
-
Critical
-
2.8.0.Final
-
None
-
None
Description
Using a JPA connector, with the standard HSQLDB configuration, executing the following test crashes with:
@Test public void removeItemAfterRegisteringSessionNamespace() throws Exception { NamespaceRegistry namespaceRegistry = session.getWorkspace().getNamespaceRegistry(); namespaceRegistry.registerNamespace("rh", "http://www.redhat.com"); session.setNamespacePrefix("rh", "http://www.redhat.com"); assertNotNull(namespaceRegistry.getURI("rh")); Node rootNode = session.getRootNode(); rootNode.addNode("folder", "nt:folder"); session.save(); session.removeItem("/folder"); session.save(); }
org.modeshape.graph.query.parse.InvalidQueryException: The view references a non-existant column 'jcr:score' in '__ALLNODES__'
The full stacktrace is attached.