Giter VIP home page Giter VIP logo

Comments (7)

kwin avatar kwin commented on August 24, 2024 1

Hi @mnougarede, the only applicable workaround for AEM < 6.3 is to explicitly install those packages via the Package Manager UI (or the according ReSTful service) on each publish instance instead of relying on replication.

from accesscontroltool.

kwin avatar kwin commented on August 24, 2024

The reason for that is that the com.day.cq.replication.impl.ReplicationReceiverImpl which is responsible for installing/extracing packages after they have been received through replication is not setting the classloader for the hooks accordingly.
The Package Manager in contrast sets the hook classloader correctly to the DynamicClassLoader in com.day.crx.packmgr.impl.servlets.ServiceServlet (through com.day.crx.packmgr.impl.MainServlet.activate(...)).

from accesscontroltool.

kwin avatar kwin commented on August 24, 2024

I created https://issues.apache.org/jira/browse/JCRVLT-116 for a generic fix. But in AEM there is another dedicated InstallHookProcessor being used, named JrVltInstallHookProcessor. Therefore I opened a support ticket with Adobe.

from accesscontroltool.

kwin avatar kwin commented on August 24, 2024

This is tracked now in the internal Adobe bugtracker in CQ-86760 (no ETA for the fix though).

from accesscontroltool.

kwin avatar kwin commented on August 24, 2024

With AEM 6.3 (load 21) the bundle com.adobe.granite.replication.core in version 6.2.26 only uses org.apache.jackrabbit.vault.packaging.JcrPackageManager instead of com.day.jcr.vault.packaging.JcrPackageManager. Therefore the fix being applied in https://issues.apache.org/jira/browse/JCRVLT-116 (also part of AEM 6.3) solves the problem for AEM 6.3.

from accesscontroltool.

mnougarede avatar mnougarede commented on August 24, 2024

Hi @kwin,

We are using AEM 6.2 for one of our client and use your wonderful project to manage ACLs.
This issue is a bit painful for us since we have to manually install this package in order to trigger the hook on our publish instances.

Is there any way this issue is gonna be fixed on 6.2 ?

Best regards,

Maxime Nougarede

from accesscontroltool.

tony-schumacher avatar tony-schumacher commented on August 24, 2024

Hi @kwin, solved it. Thanks!

from accesscontroltool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.