Confluence databases page status fails to retain the status

XMLWordPrintable

    • 2
    • Minor

      Issue Summary

      There's a persistent loading indicator (gray round rectangle) when accessing the page status table in the database. The error seems to relate to COP expecting a 302 back from Confluence REST API but the response does not contain a body to process and thus it throws an error.

      Steps to Reproduce

      1. Navigate to a page that contains a database with status
      2. Observe the gray round rectangle indicating loading when accessing the page status table.
      3. Attempt to change the status of a page to confirm that changes are reflected despite the loading indicator.

      Expected Results

      The database should show the status.

      Actual Results

      The error seems to relate to COP expecting a 302 back from Confluence REST API but the response does not contain a body to process and thus it throws the error:

      TypeError: Cannot use 'in' operator to search for 'data' in <html> <head><title>302 Found</title></head> <body> <center><h1>302 Found</h1></center> <hr><center>openresty</center> </body> </html>

      here:

      response = await this.httpClient  .get(buildSearchDatasourceCQLRequestUrl(datasourceRequest), options) .awaitJson<SearchRestResponse>(expect([200, 301, 302, 303, 307, 308, 401, 403, 404, 429]));

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Guilherme Weinschutz [Atlassian Support] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: