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

Adding macro input parameters to an app breaks existing macros, throwing "No macro metadata" error

    XMLWordPrintable

Details

    Description

      Issue Summary

      A Confluence Cloud macro which had a single macro input parameter has been updated by adding 2 more macro input parameters (via the Connect descriptor).

      For new instances of the macro (i.e. new page, new macro), everything works just fine. But for existing instances of macro (i.e. macro was inserted into page with app version that only had one input parameter), you cannot edit them at all once you've upgraded to the new version of the Connect app (that has more input parameters).

      On editing an instance of the macro, “No macro metadata” modal is returned, rather than the proper edit modal.

      Steps to Reproduce

      1. Create Connect macro with a single macro input parameter.
      2. Insert macro into Page A.
      3. Update Connect macro descriptor with additional input parameters.
      4. Insure that your Confluence Cloud instance has been updated with latest version of the Connect macro.
      5. Edit Page A, and try to edit the macro settings.

      Expected Results

      Macro edit modal shows up as expected.

      Actual Results

      Modal with error windows shows up.

      Workaround

      Currently there is no known workaround for this behavior.

      Attachments

        Activity

          People

            obeztsinnyi@atlassian.com Oleksandr Beztsinnyi
            nmansilla Neil
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: