I am trying to create Junit test case for creating packages. I have used link https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/bundle/src/test/java/com/adobe/acs/commons/packaging/impl/AssetPackagerServletImplTest.java for this. PFB my service and Junit code. I am getting an ...
I'm working on SAML 2.0 integration on totally clean 6.4.8.1 instance.Login works properly. However, logout fails with NPE. In logs I see:19.06.2020 11:32:21.061 *ERROR* [0:0:0:0:0:0:0:1 [1592555541049] GET /system/sling/logout.html HTTP/1.1] com.adobe.granite.auth.saml.SamlAuthenticationHandler Una...
Hi, I have changed the admin password across "publishers/authors" and after changing the password if i run the below curl command on Jump server to check the bundles count, i am getting below error but if i login to the corresponding publisher, i am getting successful output. Something got changed ...
Hello Team - We are using AEM 6.5, After creating the experience fragment, I get a pop-up dialog for successful creation with "Done" & "Open" button, if I click the open button from there, I get a dual header like the below and not able to use the menu options. But the same opens perfectly when I op...
I've got several type:String fields in my jcr properties that I need to render through the htl script of a custom component. Don't know if this matters, but these String fields are populated from multi-line fields of a content fragment. In my component code, I have the ContentFragment, and for jcr ...
We have this structure, /conf/<appname>/settings/wcm. In source code we have jcr:primaryType: slingFolder for <appName> and for settings folder. But when this code gets deployed to AEM, jcr:primaryType is getting converted to nt:folder instead of sling:folder. Any pointers will be highly appreciated...
Hi All I am trying to test the Twitter component in ACS commons project https://adobe-consulting-services.github.io/acs-aem-commons/features/social/twitter/index.html#twitter-feed-component-since-160 . I followed the steps , but still my services are in satisfied state. I am not sure if I am mis...
Has anybody tried implementing Google analytics on authoring environment itself. Yes, sounds crazy. However as aem OOTB doesn't provide any information related to concurrent users and active logged in users, pages authored most etc.., thought why not implement GA on authoring environment. Any thoug...
Hi,I want to reggister a filter using a resourceTypes , as part of my code i have implemented the following@component(service = Filter.class, property = {SLING_FILTER_SCOPE_REQUEST, SERVICE_RANKING_MAX, SLING_FILTER_RESOURCETYPES + "= testproject/components/page/myDetailsPage"}) when i open an pa...
I am following this tutorials: https://github.com/adobe/aem-sample-we-retail-journalHere, all the child pages JSON is stored into __INITIAL_STATE__ id. I want to know why it is done in this way, can someone please explain?Instead what if I navigate on different links and then on click of each links ...