Confluence returns a 500 Internal Server Error if a page has a broken macro

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Issue Summary

      If a page has a broken macro in it, a curl request to the page will return a 500 Internal Server Error response

      Steps to Reproduce

      1. Create a page with a broken macro
      2. On a terminal, run the following curl command:
        curl
        curl -u username:password -X GET http://baseURL/rest/api/space/SPACEKEY/content/page?expand=body.view&limit=25&start=1
        
        • Please note that it's necessary to replace the username, password, baseURL and SPACEKEY values with its respective values

      Expected Results

      Confluence will return the page's content, including the broken macro.

      Actual Results

      Confluence will return a 500 Internal Server Error response

      Workaround

      N/A

              Assignee:
              Unassigned
              Reporter:
              Renata Bueno
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: