You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Achim Koch (Jira)" <ji...@apache.org> on 2021/03/08 15:50:00 UTC

[jira] [Created] (SLING-10196) Creation of groups indeterministic

Achim Koch created SLING-10196:
----------------------------------

             Summary: Creation of groups indeterministic
                 Key: SLING-10196
                 URL: https://issues.apache.org/jira/browse/SLING-10196
             Project: Sling
          Issue Type: Bug
          Components: Repoinit
            Reporter: Achim Koch


The creation of groups with repoinit is not deterministic. If a group is created once via repoinit, then created manually, it is not re-created in the next run.

How to reproduce:

(1) Search for group "dummyims" - failed (/) 
(2) Create a repoinit script containing the line 

{code}
create group dummyims
{code}

(3) Deploy repoinitscript (via maven)
(4) Search for group "dummyims" - found (/)
(6) Manually delete  "dummyims" - deleted (/)
(7) Redeploy via maven
(8) Search for "dummyims" - failed (x)

Expected behaviour would be, that the group would be recreated.
The group will be re-created, when it is created in a different path, e.g. with

{code}
create group dummyims with path /home/groups/test1
{code}

deleted and then created under the default path... but that's nothing we can do reliably over several stages. 









--
This message was sent by Atlassian Jira
(v8.3.4#803005)