Hi All,I coudln't able to adapt the resource to my Sling Model class,getting the error Could not yet find an adapter factory for the model class my_class from adaptable class org.apache.sling.testing.resourceresolver.MockResource.Attaching the Sling models and junit files here.Model Interface pa...
Hey folks,I'm trying to make a fetch request to "http://localhost:4503/api/assets/we-retail-screens.json" via a react app running on "localhost:3000" . I have configured Adobe Granite Cross-Origin-Resource-Sharing Policy (attached screenshot). I'm expecting a json response. Instead, the fetch reques...
Hi, I was trying to build project from archetype 37. mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate "-DarchetypeGroupId=com.adobe.aem" "-DarchetypeArtifactId=aem-project-archetype" "-DarchetypeVersion=37" "-DappTitle=Archetype project" "-DappId=archetype" "-DgroupId=com....
My JUnit test is getting stuck in this section resourceResolver.getResource(filePath). My Mock AEM Context resource is having page path, its component details and in this section resourceResolver.getResource(filePath), I am trying to fetch an asset. How can I handle this?
Hi All, I have the below query - My publish instance on cloud is displaying Apache Webserver's index page whenever hit upon. This is happening because the request is being handled by dispatcher_vhost.conf's catch-all vhost. dispatcher_vhost.conf - <VirtualHost *:80> ServerName unmatched-hos...
Is it possible to retrieve a list of content fragments from a folder within assets using the ContentFragment Utils? Or is there an easier way to retrieve a list of content fragments from /content/dam/<my-org>/content-fragments/<folder-with-many-content-fragments>
I am getting an error while performing a customized workflow for deactivation. The flow of the workflow is: Lock payload-->Create version-->Approval sent to content admin--> Approved by content admin-->Deactivate Page/Asset-->Unlock Payload. I am getting the following error: com.adobe.granite.wo...
Description:The msm_moved Nodes are getting created when the LiveCopy is renamed using Move Operation.Then Rollout the same Page from Language Master and we will found the msm_moved Nodes are getting created under the Page JCR Nodes. Steps to Reproduce the Issue:1.Rename a page (X) in live copy us...
Hi All, Any request coming on my publish instance are being handled by the catch-all vhost defined in dispatcher_vhost.conf # Create a catch-all vhost# A catch-all is a safe place for un-matched hostnames to land.# This prevents someone pointing an-unwanted DNS record at your site and loading yo...