Re: Mandatory property jcr:predecessors not found in a new node

2016-12-20 Thread mathiasconradt
com/Mandatory-property-jcr-predecessors-not-found-in-a-new-node-tp4664014p4665906.html> > To unsubscribe from Mandatory property jcr:predecessors not found in a new > node, click here > <http://jackrabbit.510166.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node

Re: Mandatory property jcr:predecessors not found in a new node

2016-12-19 Thread Chetan Mehrotra
Hi Mathias, On Tue, Dec 20, 2016 at 1:31 AM, mathiasconradt wrote: > However, the problem DOES NOT occur when I don't use the default repo > configuration but get the session from my own repository configuration Thanks for digging into this. I have opened OAK-5349 for this. Can you try with curr

Re: Mandatory property jcr:predecessors not found in a new node

2016-12-19 Thread mathiasconradt
filename, "nt:file"); >> if (fileNode.canAddMixin("mix:referenceable")) >> fileNode.addMixin("mix:referenceable"); >> if (fileNode.canAddMixin("mix:versionable")) >> fileNode.addMixin("mix:versionable"); >> // if (fileNode.canAddMixin("mix:simpleVersionable&q

Re: Mandatory property jcr:predecessors not found in a new node

2016-12-19 Thread mathiasconradt
ception is javax.jcr.nodetype.ConstraintViolationException: OakConstraint0021: /documents/versiontest41.jpg[[nt:file, mix:referenceable, mix:versionable]]: Mandatory property jcr:predecessors not found in a new node ONLY occurs when I use the default repository as it is configured in the oak-standalone app (https://

Re: Mandatory property jcr:predecessors not found in a new node

2016-12-19 Thread mathiasconradt
ache.org/jira/browse/OAK-1118 > > Regards, > Mathias > > smg11 wrote >> Hi While accessing Jackrabbit oak through deployed Jackrabbit oak web-app >> using rmi, I am getting following error while check in the node to >> repository. >> >> Stack trace: >> Exceptio

Re: Mandatory property jcr:predecessors not found in a new node

2016-12-19 Thread mathiasconradt
.web.util.NestedServletException: Request processing failed; nested exception is javax.jcr.nodetype.ConstraintViolationException: OakConstraint0021: /documents/versiontest3.jpg[[nt:file, mix:referenceable, mix:versionable]]: Mandatory property jcr:predecessors not found in a new node (However, I don't get the me

Mandatory property jcr:predecessors not found in a new node

2016-05-09 Thread smg11
2713844833[[nt:unstructured, mix:versionable]]: Mandatory property jcr:predecessors not found in a new node at org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(ServerObject.java:109) at org.apache.jackrabbit.rmi.server.ServerSession.save(ServerSession.java:265)