Component edit dialogs do not close after Service Pack upgrade in Adobe Experience Manager
This article explains how to resolve an issue where component edit dialogs in Adobe Experience Manager (AEM) do not close after a Service Pack upgrade, even though edits are saved.
Description description
Environment
- Adobe Experience Manager (AEM)
- Touch UI Page Editor
Issue/Symptoms
After upgrading to a newer Service Pack in Adobe Experience Manager:
- Component edit dialogs in the Touch UI Page Editor do not close using the Done or Cancel buttons.
- The dialog remains open and blocks further authoring actions.
- Changes are saved and persist after a page reload.
- The issue typically affects all component dialogs and is not limited to a specific component.
Cause
The problem is often related to missing or incomplete client libraries required for dialog functionality following the Service Pack upgrade.
Resolution resolution
Follow the steps below to resolve the issue:
-
Confirm that the issue is present in your authoring environment after a recent Service Pack upgrade.
-
Open your browser’s developer tools and check the console for JavaScript errors when attempting to close a component edit dialog. Look for errors related to missing objects or client libraries, such as
Granite.Togglesordompurify. -
Verify that all required client libraries for dialog functionality are present and properly loaded. In particular, check that the following client libraries are available and are not missing or corrupted:
/libs/cq/gui/components/authoring/dialog/clientlibs/all.js- Any referenced client libraries, such as
dompurifyorGranite.Toggles.
-
If any required client library is missing or not loaded, restore it from a working backup or re-deploy the Service Pack to ensure all files are correctly installed.
-
After restoring or correcting the client libraries, clear your browser cache and reload the AEM authoring interface.
-
Test by editing a component and attempting to close the dialog using the Done or Cancel buttons. The dialog should now close as expected.