You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2019/07/18 15:25:00 UTC
[jira] [Created] (SLING-8586) [cp2fm] "create service user"
repoinit instruction throws javax.jcr.nodetype.ConstraintViolationException
Simone Tripodi created SLING-8586:
-------------------------------------
Summary: [cp2fm] "create service user" repoinit instruction throws javax.jcr.nodetype.ConstraintViolationException
Key: SLING-8586
URL: https://issues.apache.org/jira/browse/SLING-8586
Project: Sling
Issue Type: Bug
Components: Content-Package to Feature Model Converter
Reporter: Simone Tripodi
Assignee: Simone Tripodi
It happens that a {{create service user ... with path ...}} like the one below:
{noformat}
"create service user replication-user with path /home/users/system/communities"
{noformat}
Throws a {{javax.jcr.nodetype.ConstraintViolationException}}:
{noformat}
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]
{noformat}
I am investigating if adding an extra sentence
{noformat}
create path (rep:AuthorizableFolder) /home/users/system/communities}}
{noformat}
before creating the user could fix the {{repoinit}} execution.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)