Rest API body.view will fail on an invalid navigation map filter

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Summary

      "Oops, something went wrong" will be returned when doing a REST API content body.view call for a page containing a navigation map with an invalid filter.

      Environment

      Steps to Reproduce

      • Create a page and add a Navigation Map macro.
      • Configure a non-existing label in the Navigation Map macro.
      • Do a body.view rest api call for this page.

      https://cloud_name.atlassian.net/wiki/rest/api/content/<PageID>?expand=body.view

      Expected Results

      body.view content should be returned.

      Actual Results

      "Oops, something went wrong" will be returned

      Workaround

      Set a valid filter to navigation map macro

            Assignee:
            Unassigned
            Reporter:
            Ramon M (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: