Confluence macros configuration form stuck in an infinitive loading loop
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Upgrade Confluence with the incompatible numbered headings add-on causes most of Confluence macros configuration form stuck in an infinitive loading loop.
Environment
- Upgrade to Confluence 7.x
- Incompatible Numbered Headings app
Diagnosis
- There is nothing in the confluence application log.
- HAR file shows 200 OK.
In the Browser console log, "TypeError: AJS.clone is not a function" error appears:
console logUncaught TypeError: AJS.clone is not a function at Object.AJS.MacroBrowser.ParameterFields.enum (batch.js?frontend.editor.v4=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&user-logged-in=true:11385) at v (batch.js?frontend.editor.v4=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&user-logged-in=true:1651) at Object.<anonymous> (batch.js?frontend.editor.v4=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&user-logged-in=true:1656) at Function.each (batch.js?locale=en-GB:33) at c.fn.init.each (batch.js?locale=en-GB:29) at Object.loadMacroInBrowser (batch.js?frontend.editor.v4=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&user-logged-in=true:1656) at Object.successCallback [as success] (batch.js?frontend.editor.v4=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&user-logged-in=true:1701) at c (batch.js?locale=en-GB:44) at Object.fireWith [as resolveWith] (batch.js?locale=en-GB:44) at u (batch.js?locale=en-GB:44)
Solution
- Disable the Numbered Headings app or upgrade to the compatible version.