Hi All,
I have created a custom search facet from the search forms, after creating this a node structure became visible at the path "/conf/global/settings/dam/search".
Now , I am trying to set ACL's for the path - "/conf/global/settings/dam/search" via repoinit , the build get succussed in local , but when we try to deploy the code on AEM as a cloud service it throws the following exception and build gets failed.
javax.jcr.RepositoryException: Applying repoinit operation failed despite retry; set loglevel to DEBUG to see all exceptions. Last exception message was: Failed to set ACL (javax.jcr.PathNotFoundException: Cannot set ACL on non-existent path /conf/global/settings/dam/search) AclLine ALLOW {paths=[/conf/global/settings/dam/search], privileges=[jcr:read]}_ at org.apache.sling.jcr.repoinit.impl.RepositoryInitializerFactory.applyOperations(RepositoryInitializerFactory.java:154)_ at org.apache.sling.jcr.repoinit.impl.RepositoryInitializerFactory.processRepository(RepositoryInitializerFactory.java:130)_ at org.apache.sling.jcr.base.AbstractSlingRepositoryManager.executeRepositoryInitializers(AbstractSlingRepositoryManager.java:627)_
Any help or leads will be appreciated.