Hi,

I have a question about the automatic UUID generation.
I have some code that's not working, based on oak-core only. It's a copy of
JcrUtils.putFile method [0].

The insertion fails with the following exception:
org.apache.jackrabbit.oak.api.CommitFailedException: OakConstraint0021:
/file/jcr:content[[nt:resource]]: Mandatory property jcr:uuid not found in
a new node

So who is supposed to add this information (node uuid)?
And who is doing so right now in the oak jcr layer?

thanks,
alex


[0] https://gist.github.com/alexparvulescu/aafe80228853ad948459

Reply via email to