Pages created using template storage format via the REST API appear blank in the editor

XMLWordPrintable

    • 2
    • Severity 3 - Minor
    • 1

      Issue Summary

      The pages created using template storage format via the REST API /rest/api/content/ appear blank in the editor. It's also not possible to revert to the last published version; instead, they receive an error message. "Can't revert to last published version".

      This happens when the page storage format has  <at:declarations /> and collaborative editing is enabled.

       

      Steps to Reproduce

      1. Install Confluence v9.2.14+
      1. Run the attached shell script to create a page with the REST API having  <at:declarations /> in body content. 
        sample_script.sh
      2. The response is HTTP 200, and the page is created successfully.

      Expected Results

      1. The created page should not appear blank.
      2. Reverting to previous versions, if any, should not give any error. 

      Actual Results

      1. The newly created page appears blank in the editor.
      2. It is visible only when the synchrony is turned off. 

      Workaround

      Identify the pages having <at:declarations /> in the storage format of the page.

      • Apply controlled REST-based or manual updates for existing pages based on the identified list of affected pages.

        1. sample_script.sh
          0.9 kB
          Sanjeev Rawat

              Assignee:
              Ganesh Gautam
              Reporter:
              Saurabh
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: