ira macro Repair Utility do not fix macros with old NCS server id values

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      Standard Jira Macro Repair (JMR) scans and updates published (current) page and draft records in Confluence (bodycontent and ADF storage).

      However, the NCS (Node Collaboration Service) / Synchrony change history still hold the old Server ID.

      When a user enters Edit mode, Confluence loads the cached draft rather than the clean published version. When published, this stale draft overwrites the database-repaired page, reintroducing the broken macro.

      Steps to Reproduce

      1. Create a Confluence page and add a Macro which contains a server ID
      2. Edit the page and perform some changes
      3. Also publish the changes
      4. Execute Jira Macro repair utility.
      5. When you enter the edit mode on the updated page, Confluence loads the cached draft with the old NCS  rather than the clean published version. When published, this stale draft overwrites the database-repaired page, reintroducing the broken macro.

      Expected Results

      The Macros on the Confluence Draft page with old NCS values should be picked up in scan and fixed during execution

      Actual Results

      When a user enters Edit mode, Confluence loads the old NCS values rather than the clean published version. When published, this stale draft overwrites the database-repaired page, reintroducing the broken macro.

      ...
      

      Workaround

      Delete or publish the draft pages and run the Jira macro repair utility. However, it is a major challenge to do it at scale and has to be repeated after every edit

              Assignee:
              Unassigned
              Reporter:
              Vittal Krishna
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: