Confluence macros configuration form stuck in an infinitive loading loop
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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 log
1 2 3 4 5 6 7 8 9 10 11
Uncaught 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.
Was this helpful?