Dynamic Media General Settings page doesn’t open up
This article explains how to fix the issue where the Dynamic Media General Settingspage isn’t loading even with a correctly configured Dynamic Media CloudConfigand successful asset synchronization to DMS7.
Description description
Environments
Dynamic Media Classic
Adobe Experience Manager (AEM)
Issue
The Dynamic Media General Settings page fails to open despite the correct Dynamic Media CloudConfigsetup and successful asset synchronization with DMS7. Attempting to access the page results in a Failed to fetch dataerror, blocking further configuration access.
Resolution resolution
-
When opening the Dynamic Media General Settingspage, the following query is submitted and is expected to return the
S7Config:SELECT * FROM [ cq:Page] AS s WHERE ISDESCENDANTNODE([ /conf] ) AND s.[ jcr:content/sling:resourceType] = 'dam/components/scene7/dmscene7page'
-
If the page doesn’t load, check if you’ve generated a custom index. It’s likely that a custom index is preventing the query from returning the
S7Config, which leads to the issue. -
In AEMaaCS
>Hammer>General>GraphQL Query Editor, you can simulate the query to determine whether it has been modified. -
In AEM 6.5
>Hammer>Operations>Diagnosis>Query Performance>Explain Query -
It could e.g. be that the custom query has an “includedPaths” clause that limits the index entries (not including /conf), but doesn’t have an accompanying queryPaths clause that limits the usage of this very query.
-
Documentation on the same:
-
https://jackrabbit.apache.org/oak/docs/query/lucene.html#query-paths