Converting a page to new editor causing page to become unresponsive

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Issue Summary

      After Server-to-cloud migration, converting a page that contains Confluence embedded file macros was giving a snag error.

      Steps to Reproduce

      1. Create a page in a legacy editor that has Confluence embedded file macros pointing to an Excel or PDF file.
      2. Convert the page to the new editor.

      Expected Results

      The page should Convert to the new editor without any issues.

       

      Actual Results

      After converting the page it becomes unresponsive and throws a Snag error. Page is no longer editableas well.The below exception is thrown in the xxxxxxx.log file:

      Failed to parse ADF: <div class="error fatal-render-error">Error: RuntimeException occurred while performing an XHTML storage transformation (Expected p end element but got: <span class=confluence-embedded-file-wrapper conf-macro output-inline has-comment-overlay>)</div>
      Error: Failed to parse ADF: <div class="error fatal-render-error">Error: RuntimeException occurred while performing an XHTML storage transformation (Expected p end element but got: <span class=confluence-embedded-file-wrapper conf-macro output-inline has-comment-overlay>)</div>\n at https://confluence-v1.prod.atl-paas.net/master/87500.8VS8BQjACC.js:1:39849\n at Object.useMemo (https://confluence-v1.prod.atl-paas.net/master/stable_vendors.8ZaDkpZEGx.js:2:385521)\n at t.useMemo (https://confluence-v1.prod.atl-paas.net/master/stable_vendors.8ZaDkpZEGx.js:2:463075)\n at Wt (https://confluence-v1.prod.atl-paas.net/master/87500.8VS8BQjACC.js:1:39759)\n at jt (https://confluence-v1.prod.atl-paas.net/master/87500.8VS8BQjACC.js:1:43006)\n at na (https://confluence-v1.prod.atl-paas.net/master/stable_vendors.8ZaDkpZEGx.js:2:380669)\n at Pu (https://confluence-v1.prod.atl-paas.net/master/stable_vendors.8ZaDkpZEGx.js:2:429756)\n at Ms (https://confluence-v1.prod.atl-paas.net/master/stable_vendors.8ZaDkpZEGx.js:2:420464)\n at Ns (https://confluence-v1.prod.atl-paas.net/master/stable_vendors.8ZaDkpZEGx.js:2:420299)\n at xs (https://confluence-v1.prod.atl-paas.net/master/stable_vendors.8ZaDkpZEGx.js:2:417154) 

      Workaround

      Reverting the page back to the legacy editor resolves the issue however storage format of the page can't be converted to ADF and confluence embedded file macros were shown as Unknown Attachments

            Assignee:
            Unassigned
            Reporter:
            Sumit Uniyal
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: