Comments (7)
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.
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.
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.
This is tracked now in the internal Adobe bugtracker in CQ-86760 (no ETA for the fix though).
from accesscontroltool.
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.
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.
Hi @kwin, solved it. Thanks!
from accesscontroltool.
Related Issues (20)
- Immutable paths like /libs and /apps are being skipped while applying ACLs and repo-init works HOT 2
- CVE-2022-1471 - Update SnakeYAML to latest version to fix the security vulnerability issue reported HOT 2
- ACTool-Config-Worker may throw an exception because it executes very expensive queries, preventing startup HOT 4
- The product interface org.apache.jackrabbit.api.security.user.Query annotated with @ProviderType should not be implemented by custom code HOT 12
- Deployment on AEM Cloud Manager fails HOT 2
- Cloud Manager is reporting 2 Critical issues degrading the code reliability scores HOT 2
- Everyone deny is not moved to the top
- Use SafeConstructor with Snakeyaml
- /oak:index/repACL-custom-1 triggers an AEMaaCS Code Validation error - Standard format not followed HOT 4
- YAML files are not consistent after deploy HOT 2
- Hook's main class not found
- Prevent warnings "Unexpected changes (38) performed on a non-default mount" during AEMaaCS first Startup Hook execution HOT 3
- Race condition between ACTool and Apache Aries Whiteboard support for JMX DynamicMBean services
- Issues with wildcard usage in paths containing names starting with digits HOT 6
- AC tool new permissions not reflecting after upgrading to 3.0.10 in AEM as a cloud 2023.12.14697.20231215T125030Z
- When using variables in initialContent, allow to properly escape them HOT 1
- [AEMaaCS] Issue with isMemberOf property HOT 5
- Create groups in Adobe IMS automatically
- Not generated records /libs
- Export Users in CSV format (compatible with Admin Console)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from accesscontroltool.