Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMS Group does not exist during startup_hook_image_build step #634

Open
rmussabayev-lmru opened this issue Jun 13, 2022 · 1 comment
Open

Comments

@rmussabayev-lmru
Copy link

Hello,

Could you please help me with identifying the root of my issue? I have an external group (IMS) that actually exists in the JCR and I can see it via /crx/de. I'd like to use it as a member of the custom group I've defined via the yaml file, but I keep getting the following error during startup_hook_image_build step

ERROR: Could not process yaml files / e=biz.netcentric.cq.tools.actool.authorizableinstaller.AuthorizableCreatorException: java.lang.IllegalStateException: Member ims-brandbook-content-managers does not exist and cannot be added as external member to group brandbook-external-users

It looks like when startup_hook_image_build step is executed the IMS group hasn't been created yet. According to the logs, there were 171 memberships prefetched in startup_hook_image_build, but 287 memberships in startup_hook.

I have created a separate maven module for ACLs in the project and it depends on ui.apps and ui.content modules (both module and filevault-package-maven-plugin) and defined group membership as

  • brandbook-external-users:

      - name: Brandbook external users (AEM group)
        memberOf: fragment-external-contentmanager
        members: ims-brandbook-content-managers
        path: global
    

Did I do something wrong?

@blair-robertson
Copy link

Do you get the same error when you apply the configuration via the Admin UI?
In this case the whole respository exists (because AEM as started) so there should not be any problem with immutable vs mutable content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants