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')

            Oleksandr Solomennykov (Inactive) made changes -
            Resolution New: Cannot Reproduce [ 5 ]
            Status Original: Gathering Impact [ 12072 ] New: Closed [ 6 ]
            Oleksandr Solomennykov (Inactive) made changes -
            Labels Original: NMI tc_new New: CNR14 tc_new
            Rodrigo C made changes -
            Labels Original: tc_new New: NMI tc_new
            Tanya Biblis made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 715925 ]
            Tanya Biblis made changes -
            Labels New: tc_new
            Tanya Biblis made changes -
            Remote Link Original: This issue links to "Page (Confluence)" [ 713969 ]
            Tanya Biblis made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 713969 ]
            SET Analytics Bot made changes -
            Support reference count New: 1
            Puneet Jain (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 652058 ]
            Puneet Jain (Inactive) made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]

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

                Created:
                Updated:
                Resolved: