-
Bug
-
Resolution: Fixed
-
Highest
-
6.6.0, 6.7.0
-
9
-
Severity 2 - Major
-
6
-
Summary
Confluence is breaking User Macros after upgrading to the 6.6.0 version. It is breaking the edition of the macro to be more specific, so if you create a macro and you want to edit it, the editing screen will hang.
Steps to Reproduce
- Install Confluence 6.3.3 or 6.5.0.
- Reproduced in both environments.
- Create a User Macro with the following configuration:
- Go to any page and insert the macro.
- Edit the macro and switch its Status values just to see that it is working.
- Save the page.
- Upgrade Confluence to the 6.6.0 version.
- Try to edit the macro again
Expected Results
User will be able to edit the macro.
Actual Results
The editor screen hangs and the Console of Google Chrome will throw the following error:
Uncaught TypeError: Cannot read property '[object String]' of null at String.<anonymous> (batch.js?analytics-enabled=true&build-number=7502&confluence.table.resizable=true&confluence.view.edit.transition=true&healthcheck-resources=true&highlightactions=true&hostenabled=true&is-server-instance=true&isSystemAdministrator=true&locale=en-GB:1173) at Function.each (batch.js?locale=en-GB:189) at init.each (batch.js?locale=en-GB:182) at Object.enum (batch.js?analytics-enabled=true&build-number=7502&confluence.table.resizable=true&confluence.view.edit.transition=true&healthcheck-resources=true&highlightactions=true&hostenabled=true&is-server-instance=true&isSystemAdministrator=true&locale=en-GB:1173) at v (batch.js?analytics-enabled=true&build-number=7502&confluence.table.resizable=true&confluence.view.edit.transition=true&healthcheck-resources=true&highlightactions=true&hostenabled=true&is-server-instance=true&isSystemAdministrator=true&locale=en-GB:1226) at Object.<anonymous> (batch.js?analytics-enabled=true&build-number=7502&confluence.table.resizable=true&confluence.view.edit.transition=true&healthcheck-resources=true&highlightactions=true&hostenabled=true&is-server-instance=true&isSystemAdministrator=true&locale=en-GB:1231) at Function.each (batch.js?locale=en-GB:189) at init.each (batch.js?locale=en-GB:182) at Object.loadMacroInBrowser (batch.js?analytics-enabled=true&build-number=7502&confluence.table.resizable=true&confluence.view.edit.transition=true&healthcheck-resources=true&highlightactions=true&hostenabled=true&is-server-instance=true&isSystemAdministrator=true&locale=en-GB:1231) at Object.successCallback [as success] (batch.js?analytics-enabled=true&build-number=7502&confluence.table.resizable=true&confluence.view.edit.transition=true&healthcheck-resources=true&highlightactions=true&hostenabled=true&is-server-instance=true&isSystemAdministrator=true&locale=en-GB:1277)
Notes
- User won't be able to insert any User Macro until this problem is fixed.
- Simple users macros from https://confluence.atlassian.com/doc/writing-user-macros-4485.html are not affected
- Editing the macro will let it working again temporarily. After some time, it will break again.
- Broken macros affected had the type=enum. Maybe that property is related to bug.