Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
It happens that a create service user ... with path ... like the one below:
"create service user replication-user with path /home/users/system/communities"
Throws a javax.jcr.nodetype.ConstraintViolationException:
java.lang.RuntimeException: Session.save failed: javax.jcr.nodetype.ConstraintViolationException: OakConstraint0001: /home/users/system/communities[[rep:AuthorizableFolder]]: No matching definition found for child node replication-user with effective type [sling:Folder]
I am investigating if adding an extra sentence
create path (rep:AuthorizableFolder) /home/users/system/communities}}
before creating the user could fix the repoinit execution.
Attachments
Issue Links
- links to