Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-74120

Error while editing macros: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'metadataList')

      Issue Summary

      When editing macros in Page Edit mode, the macro editor doesn't open with the below error in browser console logs:

      Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'metadataList')
       at i (blocklist.ts:115:41)
       at v (index.ts:252:34)
       at index.ts:365:62

      Steps to Reproduce

      1.  Add team calendars to the page
      2.  Add another macro that uses the legacy macro configuration dialog
      3.  Publish the page
      4.  Now go from View -> Edit mode and try to edit the 2nd macro.

      Expected Results

      The macro editor should open.

      Actual Results

      Nothing happens but we see the below error being reported in Browser console logs:

      Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'metadataList')
          at i (blocklist.ts:115:41)
          at v (index.ts:252:34)
          at index.ts:365:62

      The below exception is seen in the log file:

      com.atlassian.confluence.plugins.confluence-inline-tasks:inline-tasks-macro-browser.js?assetVersion=1000.0.0-b2c29440e6ba&externals=__local-default__&locale=en-US:1 TypeError: Cannot read properties of undefined (reading 'setMacroJsOverride')
          at com.atlassian.confluence.plugins.confluence-inline-tasks:inline-tasks-macro-browser.js?assetVersion=1000.0.0-b2c29440e6ba&externals=__local-default__&locale=en-US:10:140

      Workaround

      1. Reload the page in edit mode and now try to edit the macro. You should be able to open the macro editor.
      2. Remove the team calendar from the page and publish the page.

            [CONFCLOUD-74120] Error while editing macros: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'metadataList')

            No work has yet been logged on this issue.

              Unassigned Unassigned
              13f27f9b2775 Jagriti
              Affected customers:
              3 This affects my team
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: